diff options
author | Rich Trott <rtrott@gmail.com> | 2020-07-22 17:56:05 -0700 |
---|---|---|
committer | Myles Borins <mylesborins@github.com> | 2020-07-27 18:23:45 -0400 |
commit | cc279db29f59deb28f17c7d7ae7851479fb9ede6 (patch) | |
tree | f621591e39f529f664863bd4c4e282d11e28861b | |
parent | 2297d74fd82f9e1fdcf00775d8d492bafcffdb86 (diff) | |
download | node-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.js | 1 |
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(); |