Rocket.Chat.ReactNative/e2e/jest.config.js

14 lines
519 B
JavaScript
Raw Permalink Normal View History

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