Adds detox testing and instructions (#147)

* Adds detox testing and instructions

* lint

* lint
This commit is contained in:
Aryan Goharzad
2023-02-03 14:00:04 -05:00
committed by GitHub
parent 2d1e38be72
commit eb1568e0fd
9 changed files with 531 additions and 26 deletions
+12
View File
@@ -0,0 +1,12 @@
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
rootDir: '..',
testMatch: ['<rootDir>/e2e/**/*.test.js'],
testTimeout: 120000,
maxWorkers: 1,
globalSetup: 'detox/runners/jest/globalSetup',
globalTeardown: 'detox/runners/jest/globalTeardown',
reporters: ['detox/runners/jest/reporter'],
testEnvironment: 'detox/runners/jest/testEnvironment',
verbose: true,
}