-
Notifications
You must be signed in to change notification settings - Fork 2
/
.detoxrc.js
47 lines (46 loc) · 873 Bytes
/
.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
46
47
const config = require("./e2e/config.json");
module.exports = {
testRunner: 'jest',
runnerConfig: './e2e/.jestrc.json',
apps: {
ios: {
type: 'ios.app',
binaryPath: config.ios.binaryPath,
build: config.ios.build,
},
android: {
type: 'android.apk',
binaryPath: config.android.binaryPath,
build: config.android.build,
},
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: config.ios.device.type,
},
},
emulator: {
type: 'android.emulator',
device: {
avdName: config.android.device.avdName,
},
},
},
configurations: {
ios: {
device: 'simulator',
app: 'ios',
},
android: {
device: 'emulator',
app: 'android',
},
},
behaviour: {
init: {
"exposeGlobals": false,
},
}
};