Merge pull request #3586 from frantic/fix-e2e-tests

Fix e2e tests
This commit is contained in:
Alexander Kotliarskyi 2015-10-21 21:03:13 -07:00
commit 8c18a24277
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