Skip to content

Commit 81eaaa2

Browse files
TrottMylesBorins
authored andcommitted
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: #34473 Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 92c57b2 commit 81eaaa2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/pummel/test-timers.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,10 @@
2323
const common = require('../common');
2424
const assert = require('assert');
2525

26-
const WINDOW = 200; // Why is does this need to be so big?
26+
const WINDOW = 200; // Why does this need to be so big?
2727

2828
let interval_count = 0;
2929

30-
// Check that these don't blow up.
31-
clearTimeout(null);
32-
clearInterval(null);
33-
3430
assert.strictEqual(setTimeout instanceof Function, true);
3531
const starttime = new Date();
3632
setTimeout(common.mustCall(function() {

0 commit comments

Comments
 (0)