main
sh 16 lines 533 Bytes
Raw
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 # End-to-end test runner comparing the Rust compiler (Babel/NAPI bridge)
8 # against the TS reference plugin.
9 #
10 # Usage: bash compiler/scripts/test-e2e.sh [fixtures-path] [--variant babel] [--limit N] [--no-color]
11
12 set -eo pipefail
13
14 REPO_ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
15
16 exec npx tsx "$REPO_ROOT/compiler/scripts/test-e2e.ts" "$@"