jasmine-core 5.7.0 → 5.7.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.
|
@@ -3125,6 +3125,10 @@ getJasmineRequireObj().Clock = function() {
|
|
|
3125
3125
|
* @function
|
|
3126
3126
|
*/
|
|
3127
3127
|
this.uninstall = function() {
|
|
3128
|
+
// Ensure auto ticking loop is aborted when clock is uninstalled
|
|
3129
|
+
if (tickMode.mode === 'auto') {
|
|
3130
|
+
tickMode = { mode: 'manual', counter: tickMode.counter + 1 };
|
|
3131
|
+
}
|
|
3128
3132
|
delayedFunctionScheduler = null;
|
|
3129
3133
|
mockDate.uninstall();
|
|
3130
3134
|
replace(global, realTimingFunctions);
|
|
@@ -11391,5 +11395,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
|
|
11391
11395
|
};
|
|
11392
11396
|
|
|
11393
11397
|
getJasmineRequireObj().version = function() {
|
|
11394
|
-
return '5.7.
|
|
11398
|
+
return '5.7.1';
|
|
11395
11399
|
};
|