@thisisagile/easy-test 11.2.9 → 11.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mock/Mocks.d.ts +1 -2
- package/package.json +3 -3
package/dist/mock/Mocks.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="jest" />
|
|
2
|
-
import NonFunctionPropertyNames = jest.NonFunctionPropertyNames;
|
|
3
2
|
import SpyInstance = jest.SpyInstance;
|
|
4
3
|
import Mock = jest.Mock;
|
|
5
4
|
import { Id, Json } from '../utils/Types';
|
|
@@ -8,7 +7,7 @@ import { HttpStatus, Response } from '../utils/Response';
|
|
|
8
7
|
export declare class Mocks {
|
|
9
8
|
clear: () => typeof jest;
|
|
10
9
|
impl: (f?: ((...args: any[]) => any) | undefined) => Mock;
|
|
11
|
-
property: <T, P extends
|
|
10
|
+
property: <T, P extends keyof (Required<T> extends infer T_1 ? { [K in keyof T_1 as Required<T>[K] extends jest.Func ? never : K]: Required<T>[K]; } : never)>(object: T, getter: P, value: T[P]) => SpyInstance;
|
|
12
11
|
reject: (value?: unknown) => Mock;
|
|
13
12
|
rejectWith: <T = any>(props?: Partial<T>) => Mock;
|
|
14
13
|
req: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thisisagile/easy-test",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.1",
|
|
4
4
|
"description": "Straightforward library for testing microservices built with @thisisagile/easy",
|
|
5
5
|
"author": "Sander Hoogendoorn",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@jest/expect-utils": "^28.1.1",
|
|
40
|
-
"@types/jest": "^28.1.
|
|
40
|
+
"@types/jest": "^28.1.4",
|
|
41
41
|
"@types/node": "^18.0.0",
|
|
42
42
|
"expect": "^28.1.1",
|
|
43
|
-
"jest": "^28.1.
|
|
43
|
+
"jest": "^28.1.2",
|
|
44
44
|
"jest-junit": "^14.0.0",
|
|
45
45
|
"jest-sonar-reporter": "^2.0.0",
|
|
46
46
|
"ts-jest": "^28.0.5"
|