build: refactor ambient node & jasmine types so they are only included where needed (#25528)

PR Close #25528
This commit is contained in:
Greg Magolan
2018-08-14 16:18:26 -07:00
committed by Jason Aden
parent 292b435495
commit 7eed4ee837
20 changed files with 67 additions and 12 deletions

View File

@ -5,6 +5,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
ts_library(
name = "lib",
testonly = True,
srcs = glob(
["**/*.ts"],
exclude = [

View File

@ -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'],