mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
00bb2ba62d
Summary: Links under `reactnative.dev` that ended with `.html` lead to Page not found. Fixed the url so that users get sent to the appropriate url. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [General] [Fixed] - Fixed dead links in the comments. Pull Request resolved: https://github.com/facebook/react-native/pull/32619 Test Plan: - Changed links are accessible Reviewed By: lunaleaps Differential Revision: D32528978 Pulled By: cortinico fbshipit-source-id: e039d18188371cf5240b37049e431329e28b1b8b
29 lines
1.2 KiB
Bash
Executable File
29 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
# Runs all Android integration tests locally.
|
|
# See https://reactnative.dev/docs/testing
|
|
|
|
source $(dirname $0)/validate-android-sdk.sh
|
|
source $(dirname $0)/validate-android-test-env.sh
|
|
source $(dirname $0)/validate-android-device-env.sh
|
|
|
|
set -e
|
|
|
|
echo "Compiling native code..."
|
|
./gradlew :ReactAndroid:packageReactNdkLibsForBuck
|
|
|
|
echo "Building JS bundle..."
|
|
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
|
|
|
|
echo "Installing test app on the device..."
|
|
buck fetch ReactAndroid/src/androidTest/buck-runner:instrumentation-tests
|
|
buck install ReactAndroid/src/androidTest/buck-runner:instrumentation-tests
|
|
|
|
echo "Running integration tests..."
|
|
# Use the JS script that runs all tests in a loop and is easy to tweak
|
|
node ./scripts/run-android-ci-instrumentation-tests.js --path ./ReactAndroid/src/androidTest/java/com/facebook/react/tests --package com.facebook.react.tests
|