generated from reime005/ReactNativeAnimatedBase
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdetox.config.js
72 lines (72 loc) · 1.96 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
module.exports = {
testRunner: 'jest',
runnerConfig: 'e2e/config.json',
specs: 'e2e',
behavior: {
init: {
exposeGlobals: true,
},
},
apps: {
'android.debug': {
type: 'android.apk',
binaryPath: './android/app/build/outputs/apk/debug/app-debug.apk',
},
'android.release': {
type: 'android.apk',
binaryPath: './android/app/build/outputs/apk/release/app-release.apk',
build:
'cd android ; ./gradlew clean assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -',
},
},
devices: {
emulator: {
type: 'android.emulator',
device: {
avdName: 'emu',
},
},
},
configurations: {
'ios.sim.release': {
type: 'ios.simulator',
build:
'xcodebuild -workspace ios/SpaceSeek.xcworkspace -scheme SpaceSeek -configuration Release -sdk iphonesimulator -derivedDataPath ios/build/app -quiet',
binaryPath:
'./ios/build/app/Build/Products/Release-iphonesimulator/SpaceSeek.app',
device: {
type: 'iPhone 11 Pro',
},
artifacts: {
pathBuilder: './e2e/detox.pathbuilder.ios.js',
},
},
'ios.sim.debug': {
type: 'ios.simulator',
build:
'xcodebuild -workspace ios/SpaceSeek.xcworkspace -UseNewBuildSystem=NO -scheme SpaceSeek -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -quiet',
binaryPath:
'./ios/build/Build/Products/Debug-iphonesimulator/spaceseek.app',
device: {
type: 'iPhone 11 Pro',
},
artifacts: {
pathBuilder: './e2e/detox.pathbuilder.ios.js',
},
},
'android.emu.release': {
device: 'emulator',
app: 'android.release',
artifacts: {
pathBuilder: './e2e/detox.pathbuilder.android.js',
},
},
'android.emu.debug': {
device: 'emulator',
app: 'android.debug',
artifacts: {
pathBuilder: './e2e/detox.pathbuilder.android.js',
},
},
},
};