@sinonjs/fake-timers
Advanced tools
Comparing version 9.0.0 to 9.1.0
{ | ||
"name": "@sinonjs/fake-timers", | ||
"description": "Fake JavaScript timers", | ||
"version": "9.0.0", | ||
"version": "9.1.0", | ||
"homepage": "https://github.com/sinonjs/fake-timers", | ||
@@ -6,0 +6,0 @@ "author": "Christian Johansen", |
@@ -588,8 +588,14 @@ "use strict"; | ||
const res = { | ||
refed: true, | ||
ref: function () { | ||
this.refed = true; | ||
return res; | ||
}, | ||
unref: function () { | ||
this.refed = false; | ||
return res; | ||
}, | ||
hasRef: function () { | ||
return this.refed; | ||
}, | ||
refresh: function () { | ||
@@ -596,0 +602,0 @@ clearTimeout(timer.id); |
78644
1538