Files
Kam d3b0bb1d8c test(docs-infra): run the orphaned shared-docs pipes specs
`relative-link.pipe.spec.ts` and `is-active-navigation-item.pipe.spec.ts`
arrived with this package's BUILD file in #57132, but no test target came with
them and `lib` excludes `**/*.spec.ts`, so nothing has ever compiled them.
`bazel query` reports both as not declared in the package.

They pass unmodified. `getRelativeUrl` has no other coverage in the repo, and
both pipes are used by the search dialog, the navigation list and the not
found page.
2026-09-09 16:14:23 +02:00

50 lines
901 B
Python

load("//adev/shared-docs:defaults.bzl", "ng_project", "ts_project", "zoneless_web_test_suite")
package(default_visibility = ["//visibility:private"])
ts_project(
name = "pipes",
srcs = [
"index.ts",
],
visibility = ["//adev/shared-docs:__subpackages__"],
deps = [
":lib",
],
)
ng_project(
name = "lib",
srcs = glob(
[
"**/*.ts",
],
exclude = [
"index.ts",
"**/*.spec.ts",
],
),
deps = [
"//adev:node_modules/@angular/core",
"//adev/shared-docs/interfaces",
"//adev/shared-docs/utils",
],
)
ts_project(
name = "test_lib",
testonly = True,
srcs = glob(
["*.spec.ts"],
),
deps = [
":lib",
"//adev/shared-docs/interfaces",
],
)
zoneless_web_test_suite(
name = "test",
deps = [":test_lib"],
)