summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-07-21 18:24:37 -0700
committerMyles Borins <mylesborins@github.com>2020-07-27 18:23:44 -0400
commit81eaaa27d5b58da5cd18119a7fe340c177294eb7 (patch)
treec8cdd48759a12d48dd4e375d414a2b97789446f2
parent92c57b284b6edb7e165dcd2794088728b8f3ba64 (diff)
downloadnode-new-81eaaa27d5b58da5cd18119a7fe340c177294eb7.tar.gz
test: remove duplicate checks in pummel/test-timers
Remove checks in pummel/test-timers that are already checked in parallel/test-timers-clear-null-does-not-throw-error. PR-URL: https://github.com/nodejs/node/pull/34473 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r--test/pummel/test-timers.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js
index 60d6a7e692..d6a8894f29 100644
--- a/test/pummel/test-timers.js
+++ b/test/pummel/test-timers.js
@@ -23,14 +23,10 @@
const common = require('../common');
const assert = require('assert');
-const WINDOW = 200; // Why is does this need to be so big?
+const WINDOW = 200; // Why does this need to be so big?
let interval_count = 0;
-// Check that these don't blow up.
-clearTimeout(null);
-clearInterval(null);
-
assert.strictEqual(setTimeout instanceof Function, true);
const starttime = new Date();
setTimeout(common.mustCall(function() {