From 81eaaa27d5b58da5cd18119a7fe340c177294eb7 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 21 Jul 2020 18:24:37 -0700 Subject: [PATCH] test: remove duplicate checks in pummel/test-timers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove checks in pummel/test-timers that are already checked in parallel/test-timers-clear-null-does-not-throw-error. PR-URL: https://github.com/nodejs/node/pull/34473 Reviewed-By: Juan José Arboleda Reviewed-By: James M Snell --- test/pummel/test-timers.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js index 60d6a7e6922836..d6a8894f291815 100644 --- a/test/pummel/test-timers.js +++ b/test/pummel/test-timers.js @@ -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() {