mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Re-enables the building of the `src/dev-app` package in the components repo when the components-repo-unit-test job runs. We previously disabled the dev-app because it was not compatible with template typechecking of ngtsc. This should be fixed now and can re-enable it. This could be valuable for having some actual real test scenarios of type checking. PR Close #43798
17 lines
617 B
Bash
Executable file
17 lines
617 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -u -e -o pipefail
|
|
|
|
# Script that runs all unit tests of the `angular/components` repository.
|
|
|
|
# Path to the Angular project.
|
|
angular_dir=$(pwd)
|
|
|
|
# Switch into the temporary directory where the `angular/components`
|
|
# repository has been cloned into.
|
|
cd ${COMPONENTS_REPO_TMP_DIR}
|
|
|
|
# Create a symlink for the Bazel binary installed through NPM, as running through Yarn introduces OOM errors.
|
|
./scripts/circleci/setup_bazel_binary.sh
|
|
|
|
# Now actually run the tests.
|
|
bazel test --build_tag_filters=-docs-package,-e2e,-browser:firefox-local --test_tag_filters=-e2e,-browser:firefox-local -- src/...
|