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

@ -181,46 +181,41 @@ ts_library(
jasmine_node_test(
name = "test_node",
templated_args = ["--node_options=--require=$(rlocation $(location :node_entry_point_es5))"],
bootstrap = [":node_entry_point_es5"],
deps = [
":node_entry_point_es5",
":test_node_lib",
],
)
jasmine_node_test(
name = "test_node_no_jasmine_clock",
templated_args = ["--node_options=--require=$(rlocation $(location :node_entry_point_no_patch_clock_es5))"],
bootstrap = [":node_entry_point_no_patch_clock_es5"],
deps = [
":node_entry_point_no_patch_clock_es5",
":test_node_lib",
],
)
jasmine_node_test(
name = "test_node_bluebird",
templated_args = ["--node_options=--require=$(rlocation $(location :node_bluebird_entry_point_es5))"],
bootstrap = [":node_bluebird_entry_point_es5"],
deps = [
":bluebird_spec",
":node_bluebird_entry_point_es5",
],
)
jasmine_node_test(
name = "test_node_error_disable_policy",
templated_args = ["--node_options=--require=$(rlocation $(location :node_error_disable_policy_entry_point_es5))"],
bootstrap = [":node_error_disable_policy_entry_point_es5"],
deps = [
":node_error_disable_policy_entry_point",
":node_error_disable_policy_entry_point_es5",
],
)
jasmine_node_test(
name = "test_node_error_lazy_policy",
templated_args = ["--node_options=--require=$(rlocation $(location :node_error_lazy_policy_entry_point_es5))"],
bootstrap = [":node_error_lazy_policy_entry_point_es5"],
deps = [
":node_error_lazy_policy_entry_point",
":node_error_lazy_policy_entry_point_es5",
],
)