/** @type {import('@jest/types').Config.InitialOptions} */ module.exports = { rootDir: '..', testSequencer: '/e2e/testSequencer.js', testMatch: ['/e2e/tests/**/*.spec.ts'], testTimeout: 240000, 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'], testEnvironment: 'detox/runners/jest/testEnvironment', verbose: true };