2023-04-02 12:51:43 +08:00
|
|
|
/** @type {import('@jest/types').Config.InitialOptions} */
|
2023-03-15 23:27:25 +08:00
|
|
|
module.exports = {
|
2023-04-02 12:51:43 +08:00
|
|
|
rootDir: '..',
|
2023-04-02 23:53:28 +08:00
|
|
|
testMatch: ['<rootDir>/e2e/**/*.test.ts'],
|
|
|
|
testTimeout: 240000,
|
|
|
|
maxWorkers: 2,
|
2023-03-15 23:27:25 +08:00
|
|
|
transform: {
|
|
|
|
'\\.tsx?$': 'ts-jest',
|
|
|
|
},
|
2023-04-02 12:51:43 +08:00
|
|
|
globalSetup: 'detox/runners/jest/globalSetup',
|
|
|
|
globalTeardown: 'detox/runners/jest/globalTeardown',
|
2023-03-15 23:27:25 +08:00
|
|
|
reporters: ['detox/runners/jest/reporter'],
|
2023-04-02 12:51:43 +08:00
|
|
|
testEnvironment: 'detox/runners/jest/testEnvironment',
|
2023-03-15 23:27:25 +08:00
|
|
|
verbose: true,
|
|
|
|
};
|