We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048de42 commit fa90911Copy full SHA for fa90911
src/cdk-experimental/ui-patterns/toolbar/BUILD.bazel
@@ -1,4 +1,4 @@
1
-load("//tools:defaults.bzl", "ts_project")
+load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project")
2
3
package(default_visibility = ["//visibility:public"])
4
@@ -15,3 +15,20 @@ ts_project(
15
"//src/cdk-experimental/ui-patterns/radio-group",
16
],
17
)
18
+
19
+ts_project(
20
+ name = "unit_test_sources",
21
+ testonly = True,
22
+ srcs = glob(["**/*.spec.ts"]),
23
+ deps = [
24
+ ":toolbar",
25
+ "//:node_modules/@angular/core",
26
+ "//src/cdk/keycodes",
27
+ "//src/cdk/testing/private",
28
+ ],
29
+)
30
31
+ng_web_test_suite(
32
+ name = "unit_tests",
33
+ deps = [":unit_test_sources"],
34
0 commit comments