-
Notifications
You must be signed in to change notification settings - Fork 62
/
detox.config.js
40 lines (40 loc) · 1.12 KB
/
detox.config.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
module.exports = {
'test-runner': 'jest',
specs: 'e2e',
'runner-config': 'e2e/config.json',
behavior: {
init: {
exposeGlobals: true,
},
},
apps: {
'ios.release': {
type: 'ios.app',
binaryPath: './ios/build/Build/Products/Release-iphonesimulator/YouTrackMobile.app',
build: 'RN_SRC_EXT=e2e.js xcodebuild -workspace ios/YouTrackMobile.xcworkspace -scheme YouTrackMobile[Release] -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
},
'ios.debug': {
type: 'ios.app',
binaryPath: './ios/build/Build/Products/Debug-iphonesimulator/YouTrackMobile.app',
build: 'RN_SRC_EXT=e2e.js xcodebuild -workspace ios/YouTrackMobile.xcworkspace -scheme YouTrackMobile -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
},
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 11 Pro',
},
},
},
configurations: {
'ios.sim.release': {
device: 'simulator',
app: 'ios.release',
},
'ios.sim.debug': {
device: 'simulator',
app: 'ios.debug',
},
},
};