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 fa30e31cd5
commit 7fb43d0d02
61 changed files with 83 additions and 142 deletions

View File

@ -59,8 +59,8 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["//tools/testing:node_es5"],
shard_count = 4,
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":test_lib",
":test_node_only_lib",
@ -68,7 +68,6 @@ jasmine_node_test(
"//packages/platform-server/testing",
"//packages/zone.js/lib:zone_d_ts",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//base64-js",
"@npm//source-map",
],

View File

@ -37,12 +37,11 @@ ts_library(
jasmine_node_test(
name = "acceptance",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["//tools/testing:node_es5"],
deps = [
":acceptance_lib",
"//packages/zone.js/lib:zone_d_ts",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//base64-js",
"@npm//source-map",
],

View File

@ -61,10 +61,9 @@ ts_library(
jasmine_node_test(
name = "render3",
templated_args = ["--node_options=--require=$(rlocation $(location :domino_es5))"],
bootstrap = [":domino_es5"],
deps = [
":domino",
":domino_es5",
":render3_node_lib",
"//packages/zone.js/lib",
],

View File

@ -16,14 +16,13 @@ ts_library(
jasmine_node_test(
name = "ivy",
bootstrap = ["//packages/core/test/render3:domino_es5"],
tags = [
"ivy-only",
],
templated_args = ["--node_options=--require=$(rlocation $(location //packages/core/test/render3:domino_es5))"],
deps = [
":ivy_lib",
"//packages/core/test/render3:domino",
"//packages/core/test/render3:domino_es5",
"//packages/zone.js/lib",
],
)

View File

@ -34,15 +34,14 @@ ts_library(
jasmine_node_test(
name = "view",
bootstrap = ["//tools/testing:node_es5"],
tags = [
"no-ivy-aot",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":view_lib",
":view_node_only_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)