From 099845c3d8f50ed5f774abd9677e8d70611e4363 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Fri, 24 Feb 2023 17:49:07 -0300 Subject: [PATCH] maxWorkers 1 on CI --- e2e/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/jest.config.js b/e2e/jest.config.js index 5c9dc559f..d7bbea01f 100644 --- a/e2e/jest.config.js +++ b/e2e/jest.config.js @@ -4,7 +4,7 @@ module.exports = { testSequencer: '/e2e/testSequencer.js', testMatch: ['/e2e/tests/**/*.spec.ts'], testTimeout: 240000, - maxWorkers: 3, + maxWorkers: process.env.CI ? 1 : 3, // ci already uses parallelism globalSetup: 'detox/runners/jest/globalSetup', globalTeardown: 'detox/runners/jest/globalTeardown', reporters: ['detox/runners/jest/reporter'],