From 0033320db25e2cf7289a9d7c6dff6d62a40c3823 Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Fri, 8 Oct 2021 12:04:02 +0100 Subject: [PATCH 1/2] Run owl test suite serially --- src/cli/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/run.ts b/src/cli/run.ts index aaafba26..b3491091 100644 --- a/src/cli/run.ts +++ b/src/cli/run.ts @@ -70,7 +70,7 @@ export const runHandler = async (args: CliRunOptions) => { await runProject(config, logger); const jestConfigPath = path.join(__dirname, '..', 'jest-config.json'); - const jestCommand = `jest --config=${jestConfigPath} --roots=${process.cwd()}`; + const jestCommand = `jest --config=${jestConfigPath} --roots=${process.cwd()} --runInBand`; logger.print( `[OWL] ${ From cbbc44861d5e6df799ad3f8e5a20d308edf4f4c0 Mon Sep 17 00:00:00 2001 From: Manos Konstantinidis Date: Fri, 8 Oct 2021 12:05:24 +0100 Subject: [PATCH 2/2] Fix tests --- src/cli/run.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/run.test.ts b/src/cli/run.test.ts index 76b77921..45d6cc34 100644 --- a/src/cli/run.test.ts +++ b/src/cli/run.test.ts @@ -206,7 +206,7 @@ describe('run.ts', () => { process.cwd(), 'src', 'jest-config.json' - )} --roots=${path.join(process.cwd())}`; + )} --roots=${path.join(process.cwd())} --runInBand`; const commandSyncMock = jest.spyOn(execa, 'commandSync');