mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 03:20:56 -06:00
Disable timeout when debugging
Use `-t 0` since somewhere a default timeout is set otherwise.
This commit is contained in:
parent
36c87aca8a
commit
dadb64ba70
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user