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 cea28f9 commit 2a6de9fCopy full SHA for 2a6de9f
tests/test.js
@@ -24,7 +24,7 @@ async function test(o, name, options, fn) {
24
25
tests[line] = { fn, line, name }
26
promise = promise.then(() => Promise.race([
27
- new Promise((resolve, reject) => fn.timer = setTimeout(() => reject('Timed out'), options.timeout || t.timeout)),
+ new Promise((resolve, reject) => fn.timer = setTimeout(() => reject('Timed out'), options.timeout || t.timeout).unref()),
28
fn()
29
]))
30
.then((x) => {
0 commit comments