1#!/bin/bash 2# Copyright (c) Meta Platforms, Inc. and affiliates. 3# 4# This source code is licensed under the MIT license found in the 5# LICENSE file in the root directory of this source tree. 6 7# Runs all Android unit tests locally. 8# See https://reactnative.dev/docs/testing 9 10source $(dirname $0)/validate-android-sdk.sh 11source $(dirname $0)/validate-android-test-env.sh 12 13set -e 14 15echo "Fetching dependencies..." 16buck fetch ReactAndroid/src/test/... 17 18echo "Running unit tests..." 19buck test ReactAndroid/src/test/... 20