We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56189e commit f531386Copy full SHA for f531386
1 file changed
test/parallel/test-process-fatal-exception-tick.js
@@ -18,7 +18,6 @@ setImmediate(() => {
18
stage++;
19
process.nextTick(() => assert.strictEqual(stage, 2));
20
});
21
-const now = Date.now();
22
setTimeout(() => setImmediate(() => stage++), 1);
23
-while (now + 10 >= Date.now());
+common.busyLoop(10);
24
throw new Error('caughtException');
0 commit comments