@jest/fake-timers
Advanced tools
Comparing version 28.0.0-alpha.5 to 28.0.0-alpha.6
@@ -133,5 +133,3 @@ 'use strict'; | ||
throw new Error( | ||
'Ran ' + | ||
this._maxLoops + | ||
' ticks, and there are still more! ' + | ||
`Ran ${this._maxLoops} ticks, and there are still more! ` + | ||
"Assuming we've hit an infinite recursion and bailing out..." | ||
@@ -159,5 +157,3 @@ ); | ||
throw new Error( | ||
'Ran ' + | ||
this._maxLoops + | ||
' immediates, and there are still more! Assuming ' + | ||
`Ran ${this._maxLoops} immediates, and there are still more! Assuming ` + | ||
"we've hit an infinite recursion and bailing out..." | ||
@@ -207,5 +203,3 @@ ); | ||
throw new Error( | ||
'Ran ' + | ||
this._maxLoops + | ||
' timers, and there are still more! ' + | ||
`Ran ${this._maxLoops} timers, and there are still more! ` + | ||
"Assuming we've hit an infinite recursion and bailing out..." | ||
@@ -286,5 +280,3 @@ ); | ||
throw new Error( | ||
'Ran ' + | ||
this._maxLoops + | ||
' timers, and there are still more! ' + | ||
`Ran ${this._maxLoops} timers, and there are still more! ` + | ||
"Assuming we've hit an infinite recursion and bailing out..." | ||
@@ -471,4 +463,3 @@ ); | ||
'Release Blog Post: https://jestjs.io/blog/2016/09/01/jest-15\n' + | ||
'Stack Trace:\n' + | ||
(0, _jestMessageUtil().formatStackTrace)( | ||
`Stack Trace:\n${(0, _jestMessageUtil().formatStackTrace)( | ||
new Error().stack, | ||
@@ -479,3 +470,3 @@ this._config, | ||
} | ||
) | ||
)}` | ||
); | ||
@@ -657,3 +648,3 @@ } | ||
default: | ||
throw new Error('Unexpected timer type: ' + timer.type); | ||
throw new Error(`Unexpected timer type: ${timer.type}`); | ||
} | ||
@@ -660,0 +651,0 @@ } |
@@ -153,4 +153,4 @@ 'use strict'; | ||
'enable fake timers globally by setting `"timers": "fake"` in the ' + | ||
'configuration file\nStack Trace:\n' + | ||
(0, _jestMessageUtil().formatStackTrace)( | ||
`configuration file\nStack Trace:\n${(0, | ||
_jestMessageUtil().formatStackTrace)( | ||
new Error().stack, | ||
@@ -161,3 +161,3 @@ this._config, | ||
} | ||
) | ||
)}` | ||
); | ||
@@ -164,0 +164,0 @@ } |
{ | ||
"name": "@jest/fake-timers", | ||
"version": "28.0.0-alpha.5", | ||
"version": "28.0.0-alpha.6", | ||
"repository": { | ||
@@ -20,8 +20,8 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^28.0.0-alpha.5", | ||
"@jest/types": "^28.0.0-alpha.6", | ||
"@sinonjs/fake-timers": "^9.1.0", | ||
"@types/node": "*", | ||
"jest-message-util": "^28.0.0-alpha.5", | ||
"jest-mock": "^28.0.0-alpha.5", | ||
"jest-util": "^28.0.0-alpha.5" | ||
"jest-message-util": "^28.0.0-alpha.6", | ||
"jest-mock": "^28.0.0-alpha.6", | ||
"jest-util": "^28.0.0-alpha.6" | ||
}, | ||
@@ -37,3 +37,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "46fb19b2628bd87676c10730ba19592c30b05478" | ||
"gitHead": "6284ada4adb7008f5f8673b1a7b1c789d2e508fb" | ||
} |
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
25028
790
Updated@jest/types@^28.0.0-alpha.6
Updatedjest-mock@^28.0.0-alpha.6
Updatedjest-util@^28.0.0-alpha.6