-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
detox.config.js
executable file
·72 lines (71 loc) · 2.48 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
const devices = require('./devices');
module.exports = {
testRunner: 'jest',
runnerConfig: 'e2e/config.json',
configurations: {
'ng.ios': {
binaryPath: 'demo-ng/platforms/ios/build/Debug-iphonesimulator/demong.app',
build: 'cd demo-ng && ns build ios',
type: 'ios.simulator',
device: {
type: devices.ios,
},
},
'ng.android': {
binaryPath: 'demo-ng/platforms/android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd demo-ng && ns build android --detox',
type: 'android.emulator',
device: {
avdName: devices.android,
},
},
'vue.ios': {
binaryPath: 'demo-vue/platforms/ios/build/Debug-iphonesimulator/demovue.app',
build: 'cd demo-vue && ns build ios',
type: 'ios.simulator',
device: {
type: devices.ios,
},
},
'vue.android': {
binaryPath: 'demo-vue/platforms/android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd demo-vue && ns build android --detox',
type: 'android.emulator',
device: {
avdName: devices.android,
},
},
'svelte.ios': {
binaryPath: 'demo-svelte/platforms/ios/build/Debug-iphonesimulator/demosvelte.app',
build: 'cd demo-svelte && ns build ios',
type: 'ios.simulator',
device: {
type: devices.ios,
},
},
'svelte.android': {
binaryPath: 'demo-svelte/platforms/android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd demo-svelte && ns build android --detox',
type: 'android.emulator',
device: {
avdName: devices.android,
},
},
'react.ios': {
binaryPath: 'demo-react/platforms/ios/build/Debug-iphonesimulator/demoreact.app',
build: 'cd demo-react && ns build ios',
type: 'ios.simulator',
device: {
type: devices.ios,
},
},
'react.android': {
binaryPath: 'demo-react/platforms/android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd demo-react && ns build android --detox',
type: 'android.emulator',
device: {
avdName: devices.android,
},
},
},
};