Remove globalSetup

This commit is contained in:
Diego Mello 2023-02-23 09:36:24 -03:00
parent c6acc05c4d
commit 26fe36a961
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +0,0 @@
import { setup } from './helpers/data_setup';
module.exports = async () => {
await require('detox/runners/jest/index').globalSetup();
// await setup();
};

View File

@ -5,7 +5,7 @@ module.exports = {
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
testTimeout: 240000,
maxWorkers: 3,
globalSetup: '<rootDir>/e2e/globalSetup.ts',
globalSetup: 'detox/runners/jest/globalSetup',
globalTeardown: 'detox/runners/jest/globalTeardown',
reporters: ['detox/runners/jest/reporter'],
testEnvironment: 'detox/runners/jest/testEnvironment',