Detox + Jest
Follow this guide to enable integrating Detox + Jest with Currents
Add Currents Reporter for Jest
/** @type {import('jest').Config} */
module.exports = {
maxWorkers: 1,
globalSetup: './globalSetup.ts',
globalTeardown: 'detox/runners/jest/globalTeardown',
testEnvironment: 'detox/runners/jest/testEnvironment',
setupFilesAfterEnv: ['./setup.ts'],
testRunner: 'jest-circus/runner',
testTimeout: 120000,
testMatch: ['**/*.test.ts'],
transform: {
'\\.tsx?$': 'ts-jest'
},
reporters: ['detox/runners/jest/reporter', '@currents/jest'], // 👈🏻
verbose: true
};Run Detox Tests
Uploading Results to Currents
Setting Detox Configuration
Detox retries limitation
How the report directory works
Why Detox is different
What to do
Quick reference
Scenario
No fixed report directory
Fixed report directory
Last updated
Was this helpful?