test: handle bootstrap templated_args in jasmine_node_test defaults.bzl (#34589)

PR Close #34589
This commit is contained in:
Greg Magolan
2020-01-07 23:56:49 -08:00
committed by atscott
parent 3a5147bc7a
commit d35451327e
61 changed files with 83 additions and 142 deletions

View File

@ -40,6 +40,7 @@ ts_library(
jasmine_node_test(
name = "extract_i18n",
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/core:npm_package",
],
@ -48,13 +49,11 @@ jasmine_node_test(
# tool will likely work differently.
"no-ivy-aot",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":extract_i18n_lib",
"//packages/common:npm_package",
"//packages/core",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//minimist",
],
)
@ -77,6 +76,7 @@ ts_library(
jasmine_node_test(
name = "ngc",
timeout = "long", # 900 seconds
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/common:npm_package",
"//packages/core:npm_package",
@ -88,12 +88,10 @@ jasmine_node_test(
# own tests under //packages/compiler-cli/test/ngtsc.
"no-ivy-aot",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":ngc_lib",
"//packages/core",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//minimist",
"@npm//rxjs",
"@npm//tsickle",
@ -118,15 +116,14 @@ ts_library(
jasmine_node_test(
name = "perform_watch",
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/core:npm_package",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":perform_watch_lib",
"//packages/core",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)
@ -146,14 +143,13 @@ ts_library(
jasmine_node_test(
name = "perform_compile",
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/core:npm_package",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":perform_compile_lib",
"//packages/core",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)