Revert "build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34589)" (#34730)

This reverts commit 79a0d007b4.

PR Close #34730
This commit is contained in:
atscott
2020-01-10 13:39:37 -08:00
parent d530dfc747
commit d71c1215f6
42 changed files with 50 additions and 5 deletions

View File

@ -281,11 +281,6 @@ def jasmine_node_test(bootstrap = [], **kwargs):
for label in bootstrap:
deps += [label]
templated_args += ["--node_options=--require=$(rlocation $(location %s))" % label]
if label.endswith("_es5"):
# If this label is a filegroup derived from a ts_library then automtically
# add the ts_library target (which is the label sans `_es5`) to deps so we pull
# in all of its transitive deps
deps += [label[:-4]]
_jasmine_node_test(
deps = deps,