Skip to content

Commit 3eac760

Browse files
committed
test(cdk-experimental/combobox): add unit tests
1 parent f6e5c62 commit 3eac760

File tree

11 files changed

+1442
-6
lines changed

11 files changed

+1442
-6
lines changed

src/cdk-experimental/combobox/BUILD.bazel

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

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

@@ -14,3 +14,26 @@ ng_project(
1414
"//src/cdk-experimental/ui-patterns",
1515
],
1616
)
17+
18+
ts_project(
19+
name = "unit_test_sources",
20+
testonly = True,
21+
srcs = glob(
22+
["**/*.spec.ts"],
23+
exclude = ["**/*.e2e.spec.ts"],
24+
),
25+
deps = [
26+
":combobox",
27+
"//:node_modules/@angular/core",
28+
"//:node_modules/@angular/platform-browser",
29+
"//:node_modules/axe-core",
30+
"//src/cdk-experimental/listbox",
31+
"//src/cdk-experimental/tree",
32+
"//src/cdk/testing/private",
33+
],
34+
)
35+
36+
ng_web_test_suite(
37+
name = "unit_tests",
38+
deps = [":unit_test_sources"],
39+
)

0 commit comments

Comments
 (0)