mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Only use the builds from the workspace as for the bootstrap scripts for web testing PR Close #62443
40 lines
1,008 B
Text
40 lines
1,008 B
Text
load("//adev/shared-docs:defaults.bzl", "ng_project", "ng_web_test_suite", "ts_project")
|
|
|
|
ng_project(
|
|
name = "copy-source-code-button",
|
|
srcs = [
|
|
"copy-source-code-button.component.ts",
|
|
],
|
|
assets = [
|
|
"copy-source-code-button.component.html",
|
|
],
|
|
visibility = [
|
|
"//adev/shared-docs/components:__pkg__",
|
|
"//adev/shared-docs/components/viewers:__pkg__",
|
|
],
|
|
deps = [
|
|
"//adev:node_modules/@angular/cdk",
|
|
"//adev:node_modules/@angular/common",
|
|
"//adev:node_modules/@angular/core",
|
|
"//adev/shared-docs/components/icon:icon_rjs",
|
|
],
|
|
)
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["*.spec.ts"],
|
|
),
|
|
deps = [
|
|
":copy-source-code-button_rjs",
|
|
"//adev:node_modules/@angular/cdk",
|
|
"//adev:node_modules/@angular/core",
|
|
"//adev:node_modules/@angular/platform-browser",
|
|
],
|
|
)
|
|
|
|
ng_web_test_suite(
|
|
name = "test",
|
|
deps = [":test_lib_rjs"],
|
|
)
|