Disable timeout when debugging

Use `-t 0` since somewhere a default timeout is set otherwise.
This commit is contained in:
Eli Barzilay 2019-12-20 17:21:06 -05:00
parent 36c87aca8a
commit dadb64ba70

View File

@ -91,9 +91,11 @@ async function runConsoleTests(runJs, defaultReporter, runInParallel, watchMode,
}
if (inspect !== undefined) {
args.unshift(inspect == "" ? "--inspect-brk" : "--inspect-brk="+inspect);
args.push("-t", "0");
}
else if (debug) {
args.unshift("--debug-brk");
args.push("-t", "0");
}
else {
args.push("-t", "" + testTimeout);