Skip to content

Commit d37ffc3

Browse files
committed
Fix React Native calling CLI wo location
1 parent a962cb6 commit d37ffc3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ aliases:
187187

188188
- &build-js-bundle
189189
name: Build JavaScript Bundle
190-
command: node cli.js bundle --max-workers 2 --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
190+
command: node cli.js bundle --max-workers 2 --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js --reactNativePath .
191191

192192
- &compile-native-libs
193193
name: Compile Native Libs for Unit and Integration Tests

ContainerShip/scripts/run-android-docker-instrumentation-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ watchman shutdown-server
3131

3232
# integration tests
3333
# build JS bundle for instrumentation tests
34-
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
34+
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js --reactNativePath .
3535

3636
# build test APK
3737
# shellcheck disable=SC1091

scripts/run-android-local-integration-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ echo "Compiling native code..."
1717
./gradlew :ReactAndroid:packageReactNdkLibsForBuck
1818

1919
echo "Building JS bundle..."
20-
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
20+
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js --reactNativePath .
2121

2222
echo "Installing test app on the device..."
2323
buck fetch ReactAndroid/src/androidTest/buck-runner:instrumentation-tests

0 commit comments

Comments
 (0)