angular/devtools/projects/shared-utils/BUILD.bazel
Matthieu Riegler 6a94300179 refactor(devtools): use whenStable instead of detectChanges
This commits migrates the devtools tests toward to recommendations
and runs the tests in a zoneless config
2026-01-05 12:24:58 -05:00

33 lines
657 B
Text

load("//devtools/tools:defaults.bzl", "ts_project", "ts_test_library", "zoneless_web_test_suite")
package(default_visibility = ["//visibility:public"])
ts_project(
name = "shared-utils",
srcs = glob(
["**/*.ts"],
exclude = [
"**/*.spec.ts",
"src/test.ts",
],
),
deps = [
"//:node_modules/@angular/core",
],
)
ts_test_library(
name = "shared_utils_test",
srcs = glob(["**/*.spec.ts"]),
deps = [
":shared-utils",
"//:node_modules/@angular/core",
],
)
zoneless_web_test_suite(
name = "test",
deps = [
":shared_utils_test",
],
)