From 26df0166005bf14a8ef2ed7d0d67eada5bc17c6d Mon Sep 17 00:00:00 2001 From: Martin Bigio Date: Thu, 22 Oct 2015 14:17:29 -0400 Subject: [PATCH] [react-native-cli] Fix errors on tests refering `packager.js` --- scripts/e2e-test.sh | 2 +- scripts/objc-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index c98c4aa24..e51a40827 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -68,6 +68,6 @@ ls EndToEndTest/`basename $MARKER` > /dev/null flow --retries 10 -node ../node_modules/react-native/packager/packager.js --nonPersistent & +../node_modules/react-native/packager/packager.sh --nonPersistent & SERVER_PID=$! xctool -scheme EndToEndTest -sdk iphonesimulator test diff --git a/scripts/objc-test.sh b/scripts/objc-test.sh index cacdafb2a..7b891a3db 100755 --- a/scripts/objc-test.sh +++ b/scripts/objc-test.sh @@ -24,7 +24,7 @@ function cleanup { } trap cleanup EXIT -node ./packager/packager.js --nonPersistent & +./packager/packager.sh --nonPersistent & SERVER_PID=$! xctool \ -project Examples/UIExplorer/UIExplorer.xcodeproj \