test: handle bootstrap templated_args in jasmine_node_test defaults.bzl (#34736)
PR Close #34736
This commit is contained in:

committed by
Matias Niemelä

parent
a4bbc35005
commit
aee67f08d9
@ -21,13 +21,12 @@ 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",
|
||||
"//packages/platform-server",
|
||||
"//packages/platform-server/testing",
|
||||
"//packages/private/testing",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
@ -22,13 +22,12 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
tags = [
|
||||
"ivy-only",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
@ -33,13 +33,12 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
||||
data = [
|
||||
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//tools/testing:node_no_angular_es5",
|
||||
],
|
||||
)
|
||||
|
||||
@ -64,6 +63,7 @@ ts_library(
|
||||
jasmine_node_test(
|
||||
name = "integration",
|
||||
timeout = "long",
|
||||
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
||||
data = [
|
||||
"//packages/common:npm_package",
|
||||
"//packages/core:npm_package",
|
||||
@ -74,10 +74,8 @@ jasmine_node_test(
|
||||
# Disabled in AOT mode because we want ngcc to compile non-AOT Angular packages.
|
||||
"no-ivy-aot",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
|
||||
deps = [
|
||||
":integration_lib",
|
||||
"//tools/testing:node_no_angular_es5",
|
||||
"@npm//canonical-path",
|
||||
"@npm//convert-source-map",
|
||||
],
|
||||
|
@ -29,9 +29,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",
|
||||
],
|
||||
)
|
||||
|
@ -21,9 +21,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",
|
||||
],
|
||||
)
|
||||
|
@ -19,9 +19,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",
|
||||
],
|
||||
)
|
||||
|
@ -18,9 +18,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",
|
||||
],
|
||||
)
|
||||
|
@ -22,9 +22,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",
|
||||
],
|
||||
)
|
||||
|
@ -23,9 +23,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",
|
||||
],
|
||||
)
|
||||
|
@ -24,9 +24,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",
|
||||
],
|
||||
)
|
||||
|
@ -20,9 +20,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",
|
||||
],
|
||||
)
|
||||
|
@ -24,9 +24,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",
|
||||
],
|
||||
)
|
||||
|
@ -17,9 +17,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",
|
||||
],
|
||||
)
|
||||
|
@ -24,9 +24,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",
|
||||
],
|
||||
)
|
||||
|
@ -20,9 +20,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",
|
||||
],
|
||||
)
|
||||
|
@ -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",
|
||||
],
|
||||
)
|
||||
|
@ -18,6 +18,7 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "compliance",
|
||||
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
||||
data = [
|
||||
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
||||
],
|
||||
@ -25,9 +26,7 @@ jasmine_node_test(
|
||||
tags = [
|
||||
"ivy-only",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//tools/testing:node_no_angular_es5",
|
||||
],
|
||||
)
|
||||
|
@ -15,6 +15,7 @@ ts_library(
|
||||
jasmine_node_test(
|
||||
name = "check_types",
|
||||
timeout = "long", # 900 seconds
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
data = [
|
||||
"//packages/common:npm_package",
|
||||
"//packages/core:npm_package",
|
||||
@ -24,12 +25,10 @@ jasmine_node_test(
|
||||
# compiler has its own typechecking implementation and tests.
|
||||
"no-ivy-aot",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":check_types_lib",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
||||
@ -46,10 +45,9 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "typescript_version",
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
deps = [
|
||||
":typescript_version_lib",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
@ -16,13 +16,12 @@ ts_library(
|
||||
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
data = [
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
],
|
||||
)
|
||||
|
@ -23,14 +23,13 @@ ts_library(
|
||||
jasmine_node_test(
|
||||
name = "ngtsc",
|
||||
timeout = "long",
|
||||
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
||||
data = [
|
||||
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
||||
],
|
||||
shard_count = 4,
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_no_angular_es5))"],
|
||||
deps = [
|
||||
":ngtsc_lib",
|
||||
"//tools/testing:node_no_angular_es5",
|
||||
"@npm//minimist",
|
||||
],
|
||||
)
|
||||
|
@ -19,6 +19,7 @@ ts_library(
|
||||
jasmine_node_test(
|
||||
name = "test",
|
||||
timeout = "long", # 900 seconds
|
||||
bootstrap = ["//tools/testing:node_es5"],
|
||||
data = [
|
||||
"//packages/common:npm_package",
|
||||
"//packages/core:npm_package",
|
||||
@ -29,12 +30,10 @@ jasmine_node_test(
|
||||
# of these transformer utilities.
|
||||
"no-ivy-aot",
|
||||
],
|
||||
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"//tools/testing:node_es5",
|
||||
"@npm//source-map",
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user