diff options
Diffstat (limited to 'test/parallel/test-timers-unref-call.js')
-rw-r--r-- | test/parallel/test-timers-unref-call.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/parallel/test-timers-unref-call.js b/test/parallel/test-timers-unref-call.js deleted file mode 100644 index 0015318c4b..0000000000 --- a/test/parallel/test-timers-unref-call.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -require('../common'); - -const Timer = process.binding('timer_wrap').Timer; -Timer.now = function() { return ++Timer.now.ticks; }; -Timer.now.ticks = 0; - -const t = setInterval(() => {}, 1); -const o = { _idleStart: 0, _idleTimeout: 1 }; -t.unref.call(o); - -setTimeout(clearInterval.bind(null, t), 2); |