Skip to content

Commit

Permalink
test: remove duplicate checks in pummel/test-timers
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and addaleax committed Sep 22, 2020
1 parent 6cbe6d2 commit d34a7f8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/pummel/test-timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d34a7f8

Please sign in to comment.