summaryrefslogtreecommitdiff
path: root/test/parallel/test-timers-unref.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-timers-unref.js')
-rw-r--r--test/parallel/test-timers-unref.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-timers-unref.js b/test/parallel/test-timers-unref.js
index 801b34792a..2bde08f914 100644
--- a/test/parallel/test-timers-unref.js
+++ b/test/parallel/test-timers-unref.js
@@ -1,6 +1,6 @@
'use strict';
require('../common');
-var assert = require('assert');
+const assert = require('assert');
let interval_fired = false;
let timeout_fired = false;
@@ -9,8 +9,8 @@ let unref_timer = false;
let unref_callbacks = 0;
let checks = 0;
-var LONG_TIME = 10 * 1000;
-var SHORT_TIME = 100;
+const LONG_TIME = 10 * 1000;
+const SHORT_TIME = 100;
assert.doesNotThrow(function() {
setTimeout(function() {}, 10).unref().ref().unref();