angular/packages/misc/angular-in-memory-web-api/test/BUILD.bazel
Joey Perrott b84859073b build: migrate to use web test runner rules (#62292)
Migrate karma tests throughout the repo to use the new web test runner based rule instead

PR Close #62292
2025-06-26 17:19:10 +00:00

25 lines
670 B
Text

load("//tools:defaults2.bzl", "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/jasmine-core",
"//:node_modules/rxjs",
"//packages/common:common_rjs",
"//packages/common/http:http_rjs",
"//packages/core:core_rjs",
"//packages/core/testing:testing_rjs",
"//packages/misc/angular-in-memory-web-api:angular-in-memory-web-api_rjs",
],
)
ng_web_test_suite(
name = "test_web",
deps = [
":test_lib_rjs",
],
)