mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 11:05:21 +00:00
Fix RNTester on Windows (#19974)
Summary: Currrent, RNTester can not work on windows. * Fixes https://github.com/facebook/react-native/issues/19654. Pull Request resolved: https://github.com/facebook/react-native/pull/19974 Differential Revision: D9150453 Pulled By: rafeca fbshipit-source-id: 1bd2046fbe0e8eaadf249604357c2e6acd80455e
This commit is contained in:
parent
f17047e230
commit
a286c0e753
@ -103,7 +103,6 @@
|
||||
"scripts/ios-install-third-party.sh",
|
||||
"scripts/launchPackager.bat",
|
||||
"scripts/launchPackager.command",
|
||||
"scripts/packager.sh",
|
||||
"scripts/react-native-xcode.sh",
|
||||
"jest-preset.json",
|
||||
"jest",
|
||||
@ -123,12 +122,12 @@
|
||||
"third-party-podspecs"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "node ./local-cli/cli.js start",
|
||||
"test": "jest",
|
||||
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
|
||||
"flow": "flow",
|
||||
"lint": "eslint .",
|
||||
"prettier": "prettier \"./**/*.js\" --write",
|
||||
"start": "/usr/bin/env bash -c './scripts/packager.sh \"$@\" || true' --",
|
||||
"docker-setup-android": "docker pull reactnativeci/android-base:latest",
|
||||
"docker-build-android-base": "docker build -t reactnativeci/android-base -f ContainerShip/Dockerfile.android-base .",
|
||||
"docker-build-android": "docker build -t reactnativeci/android -f ContainerShip/Dockerfile.android .",
|
||||
|
@ -56,7 +56,7 @@ function waitForPackager {
|
||||
if [ "$1" = "test" ]; then
|
||||
|
||||
# Start the packager
|
||||
./scripts/packager.sh --max-workers=1 || echo "Can't start packager automatically" &
|
||||
npm run start --max-workers=1 || echo "Can't start packager automatically" &
|
||||
# Start the WebSocket test server
|
||||
open "./IntegrationTests/launchWebSocketServer.command" || echo "Can't start web socket server automatically"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user