Skip to content

Commit cc279db

Browse files
TrottMylesBorins
authored andcommitted
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: #34488 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Pranshu Srivastava <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 2297d74 commit cc279db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/pummel/test-timers.js

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const WINDOW = 200; // Why does this need to be so big?
2727

2828
let interval_count = 0;
2929

30-
assert.strictEqual(setTimeout instanceof Function, true);
3130
const starttime = new Date();
3231
setTimeout(common.mustCall(function() {
3332
const endtime = new Date();

0 commit comments

Comments
 (0)