jest-mock
Advanced tools
Comparing version 27.4.6 to 27.5.0
@@ -117,2 +117,6 @@ /** | ||
/** | ||
* Getter for retrieving the last call arguments | ||
*/ | ||
lastCall?: Y; | ||
/** | ||
* List of results of calls to the mock function. | ||
@@ -119,0 +123,0 @@ */ |
@@ -338,2 +338,6 @@ 'use strict'; | ||
if (state.calls.length > 0) { | ||
state.lastCall = state.calls[state.calls.length - 1]; | ||
} | ||
return state; | ||
@@ -340,0 +344,0 @@ } |
{ | ||
"name": "jest-mock", | ||
"version": "27.4.6", | ||
"version": "27.5.0", | ||
"repository": { | ||
@@ -13,3 +13,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^27.4.2", | ||
"@jest/types": "^27.5.0", | ||
"@types/node": "*" | ||
@@ -30,3 +30,3 @@ }, | ||
}, | ||
"gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" | ||
"gitHead": "247cbe6026a590deaf0d23edecc7b2779a4aace9" | ||
} |
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
39081
970
Updated@jest/types@^27.5.0