diff --git a/e2e/__helpers__/test-case/run-result.ts b/e2e/__helpers__/test-case/run-result.ts index 948430ae96..3aa301542b 100644 --- a/e2e/__helpers__/test-case/run-result.ts +++ b/e2e/__helpers__/test-case/run-result.ts @@ -35,7 +35,9 @@ export default class RunResult { get stdout() { return stripAnsiColors((this.result.stdout || '').toString()) } get normalizedStdout() { return normalizeJestOutput(this.stdout) } get cmdLine() { - return [this.context.cmd, ...this.context.args].filter(a => !['-u', '--updateSnapshot'].includes(a)).join(' ') + return [this.context.cmd, ...this.context.args] + .filter(a => !['-u', '--updateSnapshot', '--runInBand'].includes(a)) + .join(' ') } ioFor(relFilePath: string): ProcessedFileIo { diff --git a/e2e/__helpers__/test-case/runtime.ts b/e2e/__helpers__/test-case/runtime.ts index f220839db9..0ab61f8053 100644 --- a/e2e/__helpers__/test-case/runtime.ts +++ b/e2e/__helpers__/test-case/runtime.ts @@ -97,9 +97,9 @@ export function run(name: string, options: RunTestOptions = {}): RunResult { } // run in band - // if (!cmdArgs.includes('--runInBand')) { - // cmdArgs.push('--runInBand') - // } + if (!cmdArgs.includes('--runInBand')) { + cmdArgs.push('--runInBand') + } const cmd = cmdArgs.shift() as string