This reverts commit da4782e67f
.
PR Close #34730
This commit is contained in:
@ -256,11 +256,10 @@ def nodejs_binary(data = [], **kwargs):
|
||||
**kwargs
|
||||
)
|
||||
|
||||
def jasmine_node_test(bootstrap = [], **kwargs):
|
||||
def jasmine_node_test(deps = [], **kwargs):
|
||||
"""Default values for jasmine_node_test"""
|
||||
|
||||
# Very common dependencies for tests
|
||||
deps = kwargs.pop("deps", []) + [
|
||||
deps = deps + [
|
||||
# Very common dependencies for tests
|
||||
"@npm//chokidar",
|
||||
"@npm//domino",
|
||||
"@npm//jasmine-core",
|
||||
@ -269,18 +268,9 @@ def jasmine_node_test(bootstrap = [], **kwargs):
|
||||
"@npm//tslib",
|
||||
"@npm//xhr2",
|
||||
]
|
||||
configuration_env_vars = kwargs.pop("configuration_env_vars", []) + [
|
||||
"angular_ivy_enabled",
|
||||
]
|
||||
templated_args = kwargs.pop("templated_args", [])
|
||||
for label in bootstrap:
|
||||
deps += [label]
|
||||
templated_args += ["--node_options=--require=$(rlocation $(location %s))" % label]
|
||||
|
||||
_jasmine_node_test(
|
||||
deps = deps,
|
||||
configuration_env_vars = configuration_env_vars,
|
||||
templated_args = templated_args,
|
||||
configuration_env_vars = ["angular_ivy_enabled"],
|
||||
**kwargs
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user