Files
Joey Perrott 31e3eb20f9 build: migrate to use web test runner rules (#62294)
Migrate karma tests throughout the repo to use the new web test runner based rule instead

PR Close #62294
2025-06-26 17:20:49 +00:00

26 lines
670 B
Python

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",
],
)