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

PR Close #34736
This commit is contained in:
Greg Magolan
2020-01-07 23:56:49 -08:00
committed by Matias Niemelä
parent a4bbc35005
commit aee67f08d9
61 changed files with 83 additions and 142 deletions

View File

@ -14,9 +14,8 @@ ts_library(
jasmine_node_test(
name = "test",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
bootstrap = ["//tools/testing:node_no_angular_es5"],
deps = [
":test_lib",
"//tools/testing:node_no_angular_es5",
],
)

View File

@ -22,10 +22,9 @@ ts_library(
jasmine_node_test(
name = "test",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
bootstrap = ["//tools/testing:node_no_angular_es5"],
deps = [
":test_lib",
"//tools/testing:node_no_angular_es5",
"@npm//glob",
],
)

View File

@ -14,16 +14,15 @@ ts_library(
jasmine_node_test(
name = "integration",
bootstrap = ["//tools/testing:node_no_angular_es5"],
data = glob(
[
"locales/**",
"test_files/**",
],
),
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
deps = [
":test_lib",
"//tools/testing:node_no_angular_es5",
"@npm//glob",
"@npm//yargs",
],

View File

@ -14,9 +14,8 @@ ts_library(
jasmine_node_test(
name = "test",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
bootstrap = ["//tools/testing:node_no_angular_es5"],
deps = [
":test_lib",
"//tools/testing:node_no_angular_es5",
],
)