Skip to content

Commit 7c1fbf0

Browse files
committed
test(material/slide-toggle): combine shared tests
Since we only have one module, we don't need separate shared tests anymore.
1 parent 7ca079a commit 7c1fbf0

File tree

3 files changed

+186
-208
lines changed

3 files changed

+186
-208
lines changed

src/material/slide-toggle/testing/BUILD.bazel

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ ts_library(
2121

2222
ng_test_library(
2323
name = "unit_tests_lib",
24-
srcs = glob(
25-
["**/*.spec.ts"],
26-
exclude = ["shared.spec.ts"],
27-
),
24+
srcs = glob(["**/*.spec.ts"]),
2825
deps = [
29-
":harness_tests_lib",
3026
":testing",
27+
"//src/cdk/testing",
28+
"//src/cdk/testing/testbed",
3129
"//src/material/slide-toggle",
30+
"@npm//@angular/forms",
31+
"@npm//@angular/platform-browser",
3232
],
3333
)
3434

@@ -38,16 +38,3 @@ ng_web_test_suite(
3838
":unit_tests_lib",
3939
],
4040
)
41-
42-
ng_test_library(
43-
name = "harness_tests_lib",
44-
srcs = ["shared.spec.ts"],
45-
deps = [
46-
":testing",
47-
"//src/cdk/testing",
48-
"//src/cdk/testing/testbed",
49-
"//src/material/slide-toggle",
50-
"@npm//@angular/forms",
51-
"@npm//@angular/platform-browser",
52-
],
53-
)

src/material/slide-toggle/testing/shared.spec.ts

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

0 commit comments

Comments
 (0)