forked from Shopify/flash-list
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.detoxrc.json
41 lines (41 loc) · 1.26 KB
/
.detoxrc.json
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
{
"testRunner": "jest",
"runnerConfig": "e2e/config.json",
"skipLegacyWorkersInjection": true,
"apps": {
"ios.release": {
"type": "ios.app",
"binaryPath": "../ios/build/Build/Products/Release-iphonesimulator/FlatListPro.app",
"build": "export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/FlatListPro.xcworkspace -scheme FlatListPro -configuration Release -sdk iphonesimulator -derivedDataPath ../ios/build -quiet -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' && cd .."
},
"android.release": {
"type": "android.apk",
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd .."
}
},
"devices": {
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
}
},
"emulator": {
"type": "android.emulator",
"device": {
"avdName": "React-Native-Phone"
}
}
},
"configurations": {
"ios.sim.release": {
"device": "simulator",
"app": "ios.release"
},
"android.emu.release": {
"device": "emulator",
"app": "android.release"
}
}
}