Update config.ts
Signed-off-by: Alex Schwartz <alexschwartz01@gmail.com>
This commit is contained in:
parent
9989b955a0
commit
aa5fed6eb3
|
|
@ -49,6 +49,7 @@ export class FullConfigInternal {
|
||||||
readonly projects: FullProjectInternal[] = [];
|
readonly projects: FullProjectInternal[] = [];
|
||||||
readonly singleTSConfigPath?: string;
|
readonly singleTSConfigPath?: string;
|
||||||
readonly populateGitInfo: boolean;
|
readonly populateGitInfo: boolean;
|
||||||
|
readonly skipAfterAnyFailure: boolean;
|
||||||
cliArgs: string[] = [];
|
cliArgs: string[] = [];
|
||||||
cliGrep: string | undefined;
|
cliGrep: string | undefined;
|
||||||
cliGrepInvert: string | undefined;
|
cliGrepInvert: string | undefined;
|
||||||
|
|
@ -87,8 +88,9 @@ export class FullConfigInternal {
|
||||||
// so that plugins such as gitCommitInfoPlugin can populate metadata once.
|
// so that plugins such as gitCommitInfoPlugin can populate metadata once.
|
||||||
userConfig.metadata = userConfig.metadata || {};
|
userConfig.metadata = userConfig.metadata || {};
|
||||||
|
|
||||||
|
this.skipAfterAnyFailure = userConfig.skipAfterAnyFailure ?? true;
|
||||||
|
|
||||||
this.config = {
|
this.config = {
|
||||||
skipAfterAnyFailure: userConfig.skipAfterAnyFailure ?? true,
|
|
||||||
configFile: resolvedConfigFile,
|
configFile: resolvedConfigFile,
|
||||||
rootDir: pathResolve(configDir, userConfig.testDir) || configDir,
|
rootDir: pathResolve(configDir, userConfig.testDir) || configDir,
|
||||||
forbidOnly: takeFirst(configCLIOverrides.forbidOnly, userConfig.forbidOnly, false),
|
forbidOnly: takeFirst(configCLIOverrides.forbidOnly, userConfig.forbidOnly, false),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue