We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 201e306 commit 06fe014Copy full SHA for 06fe014
test/parallel/test-timers.js
@@ -79,3 +79,8 @@ setTimeout(common.mustCall(() => {
79
// Test 10 ms timeout separately.
80
setTimeout(common.mustCall(), 10);
81
setInterval(common.mustCall(function() { clearInterval(this); }), 10);
82
+
83
+// Test no timeout separately
84
+setTimeout(common.mustCall());
85
+// eslint-disable-next-line no-restricted-syntax
86
+setInterval(common.mustCall(function() { clearInterval(this); }));
0 commit comments