Skip to content

Commit 7a762d7

Browse files
committed
CdkSelection: Add unit tests
1 parent 95b51e7 commit 7a762d7

File tree

2 files changed

+710
-1
lines changed

2 files changed

+710
-1
lines changed

src/cdk-experimental/selection/BUILD.bazel

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package(default_visibility = ["//visibility:public"])
22

3-
load("//tools:defaults.bzl", "ng_module")
3+
load("//tools:defaults.bzl", "ng_module", "ng_test_library", "ng_web_test_suite")
44

55
ng_module(
66
name = "selection",
@@ -18,3 +18,21 @@ ng_module(
1818
"@npm//rxjs",
1919
],
2020
)
21+
22+
ng_test_library(
23+
name = "unit_test_sources",
24+
srcs = glob(
25+
["**/*.spec.ts"],
26+
exclude = ["**/*.e2e.spec.ts"],
27+
),
28+
deps = [
29+
":selection",
30+
"//src/cdk/table",
31+
"//src/cdk/testing/private",
32+
],
33+
)
34+
35+
ng_web_test_suite(
36+
name = "unit_tests",
37+
deps = [":unit_test_sources"],
38+
)

0 commit comments

Comments
 (0)