Skip to content

Commit 6e859d3

Browse files
committed
test(material/datepicker): combine shared tests
Since we only have one module, we don't need separate shared tests anymore.
1 parent 69a2ea8 commit 6e859d3

9 files changed

+894
-987
lines changed

src/material/datepicker/testing/BUILD.bazel

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@ filegroup(
2121
)
2222

2323
ng_test_library(
24-
name = "harness_tests_lib",
25-
srcs = [
26-
"calendar-harness-shared.spec.ts",
27-
"date-range-input-harness-shared.spec.ts",
28-
"datepicker-input-harness-shared.spec.ts",
29-
"datepicker-toggle-harness-shared.spec.ts",
30-
],
24+
name = "unit_tests_lib",
25+
srcs = glob(["**/*.spec.ts"]),
3126
deps = [
3227
":testing",
3328
"//src/cdk/testing",
@@ -39,24 +34,6 @@ ng_test_library(
3934
],
4035
)
4136

42-
ng_test_library(
43-
name = "unit_tests_lib",
44-
srcs = glob(
45-
["**/*.spec.ts"],
46-
exclude = [
47-
"date-range-input-harness-shared.spec.ts",
48-
"datepicker-input-harness-shared.spec.ts",
49-
"datepicker-toggle-harness-shared.spec.ts",
50-
"calendar-harness-shared.spec.ts",
51-
],
52-
),
53-
deps = [
54-
":harness_tests_lib",
55-
":testing",
56-
"//src/material/datepicker",
57-
],
58-
)
59-
6037
ng_web_test_suite(
6138
name = "unit_tests",
6239
deps = [":unit_tests_lib"],

src/material/datepicker/testing/calendar-harness-shared.spec.ts

Lines changed: 0 additions & 355 deletions
This file was deleted.

0 commit comments

Comments
 (0)