react-native-macos/scripts
Héctor Ramos 3cc256ebaf Install local react-native package in e2e (#24381)
Summary:
Following 6df2edeb2a, the template for a new app no longer refers to a specific version of React Native, as the React Native CLI will set the correct version when `react-native init` is run. As it happens, the CLI cannot find a local react-native@1000 version when run as part of the JavaScript e2e tests. Therefore, I am working around using the CLI directly, and instead we're copying the contents of `template/` into a temporary directory for e2e tests. This is not dissimilar to what we already test internally at Facebook.

[General] [Fixed] - Fixed JavaScript e2e tests
Pull Request resolved: https://github.com/facebook/react-native/pull/24381

Differential Revision: D14865627

Pulled By: hramos

fbshipit-source-id: b036da7479200f3efe41b81b6b336333d5558182
2019-04-09 18:46:10 -07:00
..
circleci Use node package dependency to manage JSC version (#24276) 2019-04-04 14:22:14 -07:00
versiontemplates Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
.packager.env Move YGStyle to seperate file and add constructors 2018-02-20 05:55:36 -08:00
.tests.env Bump to Android Build Tools 28.0.3, Gradle 4.10.2, Gradle Plugin 3.2.1 2019-01-11 12:24:59 -08:00
android-e2e-test.js Fix and update end to end tests for Android (#23958) 2019-03-18 07:51:01 -07:00
android-setup.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
bump-oss-version.js Bump react-native version in template in release script (#24262) 2019-04-02 08:14:56 -07:00
generate-rncore.sh Fabric: working podspecs & works in RNTester (#23803) 2019-03-15 23:59:22 -07:00
ios-configure-glog.sh Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00
ios-install-third-party.sh Remove `-p` calls from `shasum`. (#24036) 2019-03-19 08:53:45 -07:00
launchPackager.bat Update projectRoot in launchPackager.bat (#24115) 2019-03-25 07:27:11 -07:00
launchPackager.command macOS : request interactive input when killing the packager (#19663) 2019-02-24 22:48:17 -08:00
objc-test-ios.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
objc-test-tvos.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
objc-test.sh Avoid failing Obj-C tests when xcpretty is not installed (#24173) 2019-04-03 10:45:35 -07:00
packager.sh fix: Start Metro packager from project root (#24070) 2019-03-21 11:17:40 -07:00
process-podspecs.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
publish-npm.js Deploy to npm on tagged commits only (#21250) 2018-09-22 09:16:58 -07:00
react-native-xcode.sh - Allow overriding ENTRY_FILE on react-native-xcode.sh script (#23667) 2019-02-27 13:37:22 -08:00
run-android-ci-instrumentation-tests.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-emulator.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-local-integration-tests.sh Update React Native to use latest CLI (#23940) 2019-03-18 06:22:53 -07:00
run-android-local-unit-tests.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-ci-e2e-tests.js Install local react-native package in e2e (#24381) 2019-04-09 18:46:10 -07:00
run-instrumentation-tests-via-adb-shell.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
sync-css-layout.sh Clean up instances of scripts/signedsource.py 2019-03-14 13:42:27 -07:00
test-manual-e2e.sh RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
try-n-times.js Fix linting issues (#22062) 2018-11-01 14:29:16 -07:00
validate-android-device-env.sh Use ShellCheck (#19681) 2018-09-28 17:03:24 -07:00
validate-android-sdk.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
validate-android-test-env.sh fix validate-android-test-env.sh (#22961) 2019-01-14 10:54:18 -08:00
validate-ios-test-env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00