Fix e2e tests

Internally we don't mirror `scripts` folder from GitHub, which means
when importing #3523 changes to `scripts/e2e-test.sh` will not make it to
GitHub. This commit contains those changes.
This commit is contained in:
Alex Kotliarskyi 2015-10-21 16:36:24 -07:00
parent d061de1107
commit 2f5681d4f2
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export REACT_PACKAGER_LOG="$TEMP/server.log"
# To make sure we actually installed the local version
# of react-native, we will create a temp file inside the template
# and check that it exists after `react-native init`
MARKER=$(mktemp $ROOT/local-cli/generator-ios/templates/main/XXXXXXXX)
MARKER=$(mktemp $ROOT/local-cli/generator-ios/templates/app/XXXXXXXX)
function cleanup {
EXIT_CODE=$?
@ -64,7 +64,7 @@ react-native init EndToEndTest
cd EndToEndTest/ios
# Make sure we installed local version of react-native
ls `basename $MARKER` > /dev/null
ls EndToEndTest/`basename $MARKER` > /dev/null
flow --retries 10