Add --no-typecheck option for runtests/runtests-parallel/min/local (#51460)

This commit is contained in:
Jake Bailey
2022-11-08 15:39:04 -08:00
committed by GitHub
parent 1b35985f4f
commit d237468cda
2 changed files with 21 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import os from "os";
const ci = ["1", "true"].includes(process.env.CI ?? "");
const parsed = minimist(process.argv.slice(2), {
boolean: ["dirty", "light", "colors", "lkg", "soft", "fix", "failed", "keepFailed", "force", "built", "ci", "bundle"],
boolean: ["dirty", "light", "colors", "lkg", "soft", "fix", "failed", "keepFailed", "force", "built", "ci", "bundle", "typecheck"],
string: ["browser", "tests", "break", "host", "reporter", "stackTraceLimit", "timeout", "shards", "shardId"],
alias: {
/* eslint-disable quote-props */
@@ -39,7 +39,8 @@ const parsed = minimist(process.argv.slice(2), {
dirty: false,
built: false,
ci,
bundle: true
bundle: true,
typecheck: true,
}
});
@@ -80,5 +81,6 @@ export default options;
* @property {string} shardId
* @property {string} break
* @property {boolean} bundle
* @property {boolean} typecheck
*/
void 0;