maxWorkers 1 on CI

This commit is contained in:
Diego Mello 2023-02-24 17:49:07 -03:00
parent 29bd04dfbe
commit 099845c3d8
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module.exports = {
testSequencer: '<rootDir>/e2e/testSequencer.js',
testMatch: ['<rootDir>/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'],