Skip to content

Commit 18ad865

Browse files
committed
fix(ci): do not run e2e sub-tests in band
1 parent a2b6d59 commit 18ad865

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

e2e/__helpers__/test-case/run-result.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export default class RunResult {
3535
get stdout() { return stripAnsiColors((this.result.stdout || '').toString()) }
3636
get normalizedStdout() { return normalizeJestOutput(this.stdout) }
3737
get cmdLine() {
38-
return [this.context.cmd, ...this.context.args].filter(a => !['-u', '--updateSnapshot'].includes(a)).join(' ')
38+
return [this.context.cmd, ...this.context.args]
39+
.filter(a => !['-u', '--updateSnapshot', '--runInBand'].includes(a))
40+
.join(' ')
3941
}
4042

4143
ioFor(relFilePath: string): ProcessedFileIo {

e2e/__helpers__/test-case/runtime.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ export function run(name: string, options: RunTestOptions = {}): RunResult {
9797
}
9898

9999
// run in band
100-
// if (!cmdArgs.includes('--runInBand')) {
101-
// cmdArgs.push('--runInBand')
102-
// }
100+
if (!cmdArgs.includes('--runInBand')) {
101+
cmdArgs.push('--runInBand')
102+
}
103103

104104
const cmd = cmdArgs.shift() as string
105105

0 commit comments

Comments
 (0)