angular/adev/shared-docs/pipeline/guides/testing/docs-code/BUILD.bazel
Joey Perrott 36d5048429 build: migrate final non-zone.js jasmine tests (#62169)
Migrate the final remaining non-zone.js package jasmine tests to the new toolchain

PR Close #62169
2025-06-24 08:46:39 +00:00

29 lines
668 B
Text

load("//adev/shared-docs:defaults.bzl", "ts_project")
load("//tools:defaults2.bzl", "jasmine_test")
ts_project(
name = "docs-code",
testonly = True,
srcs = glob([
"**/*.spec.mts",
]),
deps = [
"//:node_modules/@bazel/runfiles",
"//:node_modules/@types/jsdom",
"//:node_modules/jsdom",
"//adev/shared-docs/pipeline/guides:guides_lib_rjs",
],
)
jasmine_test(
name = "test",
data = [
"docs-code.md",
"example-with-eslint-comment.ts",
"example-with-region.ts",
"messages.fr.xlf.html",
"new-code.ts",
"old-code.ts",
":docs-code_rjs",
],
)