We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb73422 commit 5c5093dCopy full SHA for 5c5093d
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