Skip to content

Commit dadb64b

Browse files
committed
Disable timeout when debugging
Use `-t 0` since somewhere a default timeout is set otherwise.
1 parent 36c87ac commit dadb64b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build/tests.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ async function runConsoleTests(runJs, defaultReporter, runInParallel, watchMode,
9191
}
9292
if (inspect !== undefined) {
9393
args.unshift(inspect == "" ? "--inspect-brk" : "--inspect-brk="+inspect);
94+
args.push("-t", "0");
9495
}
9596
else if (debug) {
9697
args.unshift("--debug-brk");
98+
args.push("-t", "0");
9799
}
98100
else {
99101
args.push("-t", "" + testTimeout);

0 commit comments

Comments
 (0)