2023-01-24 16:33:11 +00:00
|
|
|
/** @type {import('@jest/types').Config.InitialOptions} */
|
|
|
|
module.exports = {
|
2023-01-24 18:28:20 +00:00
|
|
|
rootDir: '..',
|
2023-02-16 13:13:11 +00:00
|
|
|
testSequencer: '<rootDir>/e2e/testSequencer.js',
|
2023-02-17 12:21:42 +00:00
|
|
|
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
|
2023-02-21 20:38:23 +00:00
|
|
|
testTimeout: 240000,
|
2023-02-24 20:49:07 +00:00
|
|
|
maxWorkers: process.env.CI ? 1 : 3, // ci already uses parallelism
|
2023-02-23 12:36:24 +00:00
|
|
|
globalSetup: 'detox/runners/jest/globalSetup',
|
2023-01-24 18:28:20 +00:00
|
|
|
globalTeardown: 'detox/runners/jest/globalTeardown',
|
|
|
|
reporters: ['detox/runners/jest/reporter'],
|
|
|
|
testEnvironment: 'detox/runners/jest/testEnvironment',
|
2023-01-25 18:02:12 +00:00
|
|
|
verbose: true
|
2023-01-24 16:33:11 +00:00
|
|
|
};
|