-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.detoxrc.js
45 lines (45 loc) · 1.17 KB
/
.detoxrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
$0: "jest",
config: "e2e/jest.config.js",
},
jest: {
setupTimeout: 900000,
teardownTimeout: 900000,
},
},
apps: {
"ios.debug": {
type: "ios.app",
binaryPath: "ios/build/Build/Products/Debug-iphonesimulator/Seek.app",
build:
"export MOCK_MODE=e2e && xcodebuild -workspace ios/Seek.xcworkspace -scheme Seek -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build && unset MOCK_MODE",
},
"ios.release": {
type: "ios.app",
binaryPath: "ios/build/Build/Products/Release-iphonesimulator/Seek.app",
build:
"export MOCK_MODE=e2e && xcodebuild -workspace ios/Seek.xcworkspace -scheme Seek -configuration Release -sdk iphonesimulator -derivedDataPath ios/build && unset MOCK_MODE",
},
},
devices: {
simulator: {
type: "ios.simulator",
device: {
type: "iPhone 15 Pro",
},
},
},
configurations: {
"ios.debug": {
device: "simulator",
app: "ios.debug",
},
"ios.release": {
device: "simulator",
app: "ios.release",
},
},
};