Files
angular__angular/packages/common/http/test/BUILD.bazel
T
Joey Perrott 4fae4dbba8 build: migrate adev to use packaged version of @angular/* packages (#62413)
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles

PR Close #62413
2025-07-02 16:10:25 +00:00

38 lines
975 B
Python

load("//tools:defaults2.bzl", "angular_jasmine_test", "ng_web_test_suite", "ts_project")
ts_project(
name = "test_lib",
testonly = True,
srcs = glob(
["**/*.ts"],
),
# Visible to //:saucelabs_unit_tests_poc target
visibility = ["//:__pkg__"],
deps = [
"//:node_modules/rxjs",
"//packages:types_rjs",
"//packages/common:common_rjs",
"//packages/common/http:http_rjs",
"//packages/common/http/testing:testing_rjs",
"//packages/core:core_rjs",
"//packages/core/testing:testing_rjs",
"//packages/private/testing:testing_rjs",
],
)
angular_jasmine_test(
name = "test",
data = [
":test_lib_rjs",
],
flaky = True, # TODO: figure out why one of the transferCache tests is flaky
)
ng_web_test_suite(
name = "test_web",
flaky = True, # TODO: figure out why one of the transferCache tests is flaky
deps = [
":test_lib_rjs",
],
)