Skip to content

Commit fa90911

Browse files
authored
feat(cdk-experimental/ui-patterns): toolbar ui pattern tests (#31688)
1 parent 048de42 commit fa90911

File tree

2 files changed

+414
-1
lines changed

2 files changed

+414
-1
lines changed

src/cdk-experimental/ui-patterns/toolbar/BUILD.bazel

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tools:defaults.bzl", "ts_project")
1+
load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project")
22

33
package(default_visibility = ["//visibility:public"])
44

@@ -15,3 +15,20 @@ ts_project(
1515
"//src/cdk-experimental/ui-patterns/radio-group",
1616
],
1717
)
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

Comments
 (0)