Skip to content

Commit 518ac69

Browse files
committed
test(material/form-field): combine shared tests
Since we only have one module, we don't need separate shared tests anymore.
1 parent e1514fb commit 518ac69

File tree

3 files changed

+359
-434
lines changed

3 files changed

+359
-434
lines changed

src/material/form-field/testing/BUILD.bazel

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,13 @@ filegroup(
2323
)
2424

2525
ng_test_library(
26-
name = "harness_tests_lib",
27-
srcs = ["shared.spec.ts"],
26+
name = "unit_tests_lib",
27+
srcs = glob(["**/*.spec.ts"]),
2828
deps = [
2929
":testing",
3030
"//src/cdk/testing",
3131
"//src/cdk/testing/private",
3232
"//src/cdk/testing/testbed",
33-
"@npm//@angular/forms",
34-
"@npm//@angular/platform-browser",
35-
],
36-
)
37-
38-
ng_test_library(
39-
name = "unit_tests_lib",
40-
srcs = glob(
41-
["**/*.spec.ts"],
42-
exclude = ["shared.spec.ts"],
43-
),
44-
deps = [
45-
":harness_tests_lib",
46-
":testing",
4733
"//src/material/autocomplete",
4834
"//src/material/core",
4935
"//src/material/datepicker",
@@ -53,6 +39,8 @@ ng_test_library(
5339
"//src/material/input/testing",
5440
"//src/material/select",
5541
"//src/material/select/testing",
42+
"@npm//@angular/forms",
43+
"@npm//@angular/platform-browser",
5644
],
5745
)
5846

0 commit comments

Comments
 (0)