@jest/fake-timers
Advanced tools
Comparing version 26.5.2 to 26.6.0
@@ -105,4 +105,2 @@ 'use strict'; | ||
this.reset(); | ||
this._createMocks(); | ||
} | ||
@@ -420,3 +418,11 @@ | ||
_checkFakeTimers() { | ||
if (this._global.setTimeout !== this._fakeTimerAPIs.setTimeout) { | ||
var _this$_fakeTimerAPIs; | ||
if ( | ||
this._global.setTimeout !== | ||
((_this$_fakeTimerAPIs = this._fakeTimerAPIs) === null || | ||
_this$_fakeTimerAPIs === void 0 | ||
? void 0 | ||
: _this$_fakeTimerAPIs.setTimeout) | ||
) { | ||
this._global.console.warn( | ||
@@ -423,0 +429,0 @@ `A function to advance timers was called but the timers API is not ` + |
{ | ||
"name": "@jest/fake-timers", | ||
"version": "26.5.2", | ||
"version": "26.6.0", | ||
"repository": { | ||
@@ -13,8 +13,8 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^26.5.2", | ||
"@jest/types": "^26.6.0", | ||
"@sinonjs/fake-timers": "^6.0.1", | ||
"@types/node": "*", | ||
"jest-message-util": "^26.5.2", | ||
"jest-mock": "^26.5.2", | ||
"jest-util": "^26.5.2" | ||
"jest-message-util": "^26.6.0", | ||
"jest-mock": "^26.6.0", | ||
"jest-util": "^26.6.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "d2bacceb51e7f05c9cb6d764d5cd886a2fd71267" | ||
"gitHead": "b254fd82fdedcba200e1c7eddeaab83a09bdaaef" | ||
} |
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
24533
766
Updated@jest/types@^26.6.0
Updatedjest-message-util@^26.6.0
Updatedjest-mock@^26.6.0
Updatedjest-util@^26.6.0