maxWorkers 1 on CI
This commit is contained in:
parent
29bd04dfbe
commit
099845c3d8
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
testSequencer: '<rootDir>/e2e/testSequencer.js',
|
testSequencer: '<rootDir>/e2e/testSequencer.js',
|
||||||
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
|
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
|
||||||
testTimeout: 240000,
|
testTimeout: 240000,
|
||||||
maxWorkers: 3,
|
maxWorkers: process.env.CI ? 1 : 3, // ci already uses parallelism
|
||||||
globalSetup: 'detox/runners/jest/globalSetup',
|
globalSetup: 'detox/runners/jest/globalSetup',
|
||||||
globalTeardown: 'detox/runners/jest/globalTeardown',
|
globalTeardown: 'detox/runners/jest/globalTeardown',
|
||||||
reporters: ['detox/runners/jest/reporter'],
|
reporters: ['detox/runners/jest/reporter'],
|
||||||
|
|
Loading…
Reference in New Issue