summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-07-22 17:56:05 -0700
committerMyles Borins <mylesborins@github.com>2020-07-27 18:23:45 -0400
commitcc279db29f59deb28f17c7d7ae7851479fb9ede6 (patch)
treef621591e39f529f664863bd4c4e282d11e28861b
parent2297d74fd82f9e1fdcf00775d8d492bafcffdb86 (diff)
downloadnode-new-cc279db29f59deb28f17c7d7ae7851479fb9ede6.tar.gz
test: remove superfluous check in pummel/test-timers
If setTimeout is not a function, this test and most other tests would fail. There is no need to check it. PR-URL: https://github.com/nodejs/node/pull/34488 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Pranshu Srivastava <rexagod@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
-rw-r--r--test/pummel/test-timers.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js
index d6a8894f29..7500ca7939 100644
--- a/test/pummel/test-timers.js
+++ b/test/pummel/test-timers.js
@@ -27,7 +27,6 @@ const WINDOW = 200; // Why does this need to be so big?
let interval_count = 0;
-assert.strictEqual(setTimeout instanceof Function, true);
const starttime = new Date();
setTimeout(common.mustCall(function() {
const endtime = new Date();