1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/Example/testHotUpdate/e2e/jest.config.js

17 lines
485 B
JavaScript
Raw Normal View History

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: '..',
testMatch: ['<rootDir>/e2e/**/*.test.js'],
2023-03-15 23:27:25 +08:00
testTimeout: 120000,
2023-04-02 12:51:43 +08:00
maxWorkers: 1,
2023-03-15 23:27:25 +08:00
testMatch: ['**/*.test.ts'],
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,
};