build: refactor ambient node & jasmine types so they are only included where needed (#25528)
PR Close #25528
This commit is contained in:
@ -5,6 +5,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
||||
|
||||
ts_library(
|
||||
name = "lib",
|
||||
testonly = True,
|
||||
srcs = glob(
|
||||
["**/*.ts"],
|
||||
exclude = [
|
||||
|
@ -28,6 +28,7 @@ def js_expected_symbol_test(name, src, golden, **kwargs):
|
||||
|
||||
nodejs_binary(
|
||||
name = name + '.accept',
|
||||
testonly = True,
|
||||
data = all_data,
|
||||
entry_point = entry_point,
|
||||
templated_args = ["$(location %s)" % src, "$(location %s)" % golden, '--accept'],
|
||||
|
Reference in New Issue
Block a user