Skip to content

Commit c747ceb

Browse files
committed
fix(cdk/tree): revert to ng_test_library; ng_module tests don't work in CI
1 parent 5560bde commit c747ceb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cdk/tree/BUILD.bazel

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load(
22
"//tools:defaults.bzl",
33
"markdown_to_html",
44
"ng_module",
5+
"ng_test_library",
56
"ng_web_test_suite",
67
)
78

@@ -25,9 +26,8 @@ ng_module(
2526
],
2627
)
2728

28-
ng_module(
29+
ng_test_library(
2930
name = "unit_test_sources",
30-
testonly = True,
3131
srcs = glob(
3232
["**/*.spec.ts"],
3333
exclude = ["**/*.e2e.spec.ts"],
@@ -39,8 +39,7 @@ ng_module(
3939
"//src/cdk/collections",
4040
"//src/cdk/keycodes",
4141
"//src/cdk/testing/testbed",
42-
"@npm//@angular/core",
43-
"@npm//@types/jasmine",
42+
"@npm//@angular/common",
4443
"@npm//rxjs",
4544
],
4645
)

0 commit comments

Comments
 (0)