mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Disable timeout when debugging
Use `-t 0` since somewhere a default timeout is set otherwise.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user