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

@ -70,6 +70,7 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/animations:npm_package",
"//packages/common:npm_package",
@ -79,12 +80,10 @@ jasmine_node_test(
# Disabled as these tests pertain to the old ngc compilation and are not relevant in Ivy.
"no-ivy-aot",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":test_lib",
":test_node_only_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//base64-js",
"@npm//source-map",
],

View File

@ -16,11 +16,10 @@ ts_library(
jasmine_node_test(
name = "css_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["//tools/testing:node_es5"],
deps = [
":css_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -15,11 +15,10 @@ ts_library(
jasmine_node_test(
name = "expression_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["//tools/testing:node_es5"],
deps = [
":expression_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -13,11 +13,10 @@ ts_library(
jasmine_node_test(
name = "ml_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["//tools/testing:node_es5"],
deps = [
":ml_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

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

View File

@ -17,11 +17,10 @@ ts_library(
jasmine_node_test(
name = "selector",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["//tools/testing:node_es5"],
deps = [
":selector_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)