Skip to content

Commit

Permalink
ci(android): fix demo-react-native project (#1307)
Browse files Browse the repository at this point in the history
Prerequisite for #1290
  • Loading branch information
noomorph authored Apr 18, 2019
1 parent b5e1ca6 commit bdb6330
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/demo-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"mocha": "^4.0.1"
},
"detox": {
"specs": "",
"specs": "e2e",
"test-runner": "mocha",
"runner-config": "e2e/mocha.opts",
"configurations": {
Expand All @@ -32,13 +32,13 @@
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
"build": "cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -",
"type": "android.emulator",
"name": "Nexus_5X_API_26"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"build": "cd android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -",
"type": "android.emulator",
"name": "Nexus_5X_API_26"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/demo-projects.ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source $(dirname "$0")/demo-projects.sh

pushd examples/demo-react-native
run_f "detox build -c ios.sim.release"
run_f "detox test -c ios.sim.release e2e"
run_f "detox test -c ios.sim.release"
run_f "detox test -c ios.sim.release e2eExplicitRequire --runner-config e2eExplicitRequire/mocha.opts"
popd

Expand Down

0 comments on commit bdb6330

Please sign in to comment.