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