angular/devtools/projects/shared-utils/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

36 lines
693 B
Text

load("//devtools/tools:typescript.bzl", "ts_project", "ts_test_library")
load("//tools:defaults2.bzl", "ng_web_test_suite")
package(default_visibility = ["//visibility:public"])
ts_project(
name = "shared-utils",
srcs = glob(
["**/*.ts"],
exclude = [
"**/*.spec.ts",
"src/test.ts",
],
),
interop_deps = [
"//packages/core",
],
)
ts_test_library(
name = "shared_utils_test",
srcs = glob(["**/*.spec.ts"]),
interop_deps = [
"//packages/core",
],
deps = [
":shared-utils_rjs",
],
)
ng_web_test_suite(
name = "test",
deps = [
":shared_utils_test_rjs",
],
)