build: avoid running duplicate tests in language service (#35816)

The test libs should only be included in one jasmine_node_test
otherwise `bazel build //packages/language-service/...` would
end up running `feature_test` and `infra_test` twice.

PR Close #35816
This commit is contained in:
Keen Yee Liau 2020-03-02 20:21:40 -08:00 committed by atscott
parent 3b0b90527e
commit 89b5b97368
1 changed files with 1 additions and 18 deletions

View File

@ -62,7 +62,7 @@ ts_library(
) )
jasmine_node_test( jasmine_node_test(
name = "features_test", name = "test",
data = [ data = [
"//packages/common:npm_package", "//packages/common:npm_package",
"//packages/core:npm_package", "//packages/core:npm_package",
@ -93,23 +93,6 @@ jasmine_node_test(
], ],
) )
jasmine_node_test(
name = "test",
data = [
"//packages/common:npm_package",
"//packages/core:npm_package",
"//packages/forms:npm_package",
],
tags = [
# the language service is not yet compatible with Ivy
"no-ivy-aot",
],
deps = [
":features_test_lib",
":infra_test_lib",
],
)
ts_library( ts_library(
name = "diagnostics_lib", name = "diagnostics_lib",
testonly = True, testonly = True,