From cc279db29f59deb28f17c7d7ae7851479fb9ede6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 22 Jul 2020 17:56:05 -0700 Subject: [PATCH] test: remove superfluous check in pummel/test-timers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Pranshu Srivastava Reviewed-By: Richard Lau --- test/pummel/test-timers.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js index d6a8894f291815..7500ca79395ab0 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();