Remove globalSetup
This commit is contained in:
parent
c6acc05c4d
commit
26fe36a961
|
@ -1,6 +0,0 @@
|
||||||
import { setup } from './helpers/data_setup';
|
|
||||||
|
|
||||||
module.exports = async () => {
|
|
||||||
await require('detox/runners/jest/index').globalSetup();
|
|
||||||
// await setup();
|
|
||||||
};
|
|
|
@ -5,7 +5,7 @@ module.exports = {
|
||||||
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
|
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
|
||||||
testTimeout: 240000,
|
testTimeout: 240000,
|
||||||
maxWorkers: 3,
|
maxWorkers: 3,
|
||||||
globalSetup: '<rootDir>/e2e/globalSetup.ts',
|
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'],
|
||||||
testEnvironment: 'detox/runners/jest/testEnvironment',
|
testEnvironment: 'detox/runners/jest/testEnvironment',
|
||||||
|
|
Loading…
Reference in New Issue