jest-mock
Advanced tools
Comparing version 26.5.0 to 26.5.2
@@ -45,8 +45,9 @@ /** | ||
mockReturnValueOnce(value: T): this; | ||
mockResolvedValue(value: T): this; | ||
mockResolvedValueOnce(value: T): this; | ||
mockRejectedValue(value: T): this; | ||
mockRejectedValueOnce(value: T): this; | ||
mockResolvedValue(value: Unpromisify<T>): this; | ||
mockResolvedValueOnce(value: Unpromisify<T>): this; | ||
mockRejectedValue(value: unknown): this; | ||
mockRejectedValueOnce(value: unknown): this; | ||
} | ||
} | ||
declare type Unpromisify<T> = T extends Promise<infer R> ? R : never; | ||
/** | ||
@@ -53,0 +54,0 @@ * Possible types of a MockFunctionResult. |
{ | ||
"name": "jest-mock", | ||
"version": "26.5.0", | ||
"version": "26.5.2", | ||
"repository": { | ||
@@ -13,3 +13,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^26.5.0", | ||
"@jest/types": "^26.5.2", | ||
"@types/node": "*" | ||
@@ -23,3 +23,3 @@ }, | ||
}, | ||
"gitHead": "68d1b1b638bc7464c2794a957c1b894de7da2ee3" | ||
"gitHead": "d2bacceb51e7f05c9cb6d764d5cd886a2fd71267" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34601
878
Updated@jest/types@^26.5.2