build(compiler-cli): include new test files in bazel config (#22705)

Fixes #22593

PR Close #22705
This commit is contained in:
Oussama Ben Brahim 2018-03-28 21:48:28 +02:00 committed by Alex Rickabaugh
parent 193737a1ea
commit a5f0939eae
1 changed files with 27 additions and 5 deletions

View File

@ -71,11 +71,11 @@ jasmine_node_test(
],
)
# symbol_query_spec
# typescript_symbols_spec
ts_library(
name = "symbol_query_lib",
name = "typescript_symbols_lib",
testonly = 1,
srcs = ["symbol_query_spec.ts"],
srcs = ["typescript_symbols_spec.ts"],
deps = [
":mocks",
"//packages/compiler",
@ -87,13 +87,35 @@ ts_library(
)
jasmine_node_test(
name = "symbol_query",
name = "typescript_symbols",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
data = [
],
deps = [
":symbol_query_lib",
":typescript_symbols_lib",
"//packages/core",
"//tools/testing:node",
],
)
# typescript_version_spec
ts_library(
name = "typescript_version_lib",
testonly = 1,
srcs = ["typescript_version_spec.ts"],
deps = [
"//packages/compiler-cli",
"//packages/compiler-cli/test:test_utils",
],
)
jasmine_node_test(
name = "typescript_version",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
data = [
],
deps = [
":typescript_version_lib",
"//tools/testing:node",
],
)