mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Enable strict_deps testings for all ts_project and ng_project targets in the repo PR Close #63375
36 lines
844 B
Text
36 lines
844 B
Text
load("//adev/shared-docs:defaults.bzl", "ts_project", "zoneless_jasmine_test")
|
|
load("//adev/shared-docs/pipeline/api-gen/rendering:render_api_to_html.bzl", "render_api_to_html")
|
|
|
|
render_api_to_html(
|
|
name = "test",
|
|
srcs = [
|
|
"fake-cli-entries.json",
|
|
"fake-entries.json",
|
|
],
|
|
)
|
|
|
|
ts_project(
|
|
name = "unit_test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
[
|
|
"**/*.spec.mts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//adev:node_modules/@types/jsdom",
|
|
"//adev:node_modules/jsdom",
|
|
"//adev/shared-docs/pipeline/api-gen/rendering:render_api_to_html_lib",
|
|
"//adev/shared-docs/pipeline/shared:shiki",
|
|
],
|
|
)
|
|
|
|
zoneless_jasmine_test(
|
|
name = "unit_tests",
|
|
data = [
|
|
":unit_test_lib",
|
|
"//adev:node_modules/jsdom",
|
|
] + glob([
|
|
"**/*.json",
|
|
]),
|
|
)
|