test: setup circular dependency tests for all entry points (#34774)

Sets up circular dependency tests for all entry-points in the
project (except for the ones part of a deprecated package).

PR Close #34774
This commit is contained in:
Paul Gschwendtner
2020-01-14 15:31:13 +01:00
committed by Andrew Kushnir
parent fd3cfbb678
commit 970b22f98e
24 changed files with 204 additions and 0 deletions

View File

@ -1,4 +1,5 @@
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
# Test that should only be run in node
NODE_ONLY = [
@ -10,6 +11,12 @@ UTILS = [
"aot/test_util.ts",
]
circular_dependency_test(
name = "circular_deps_test",
entry_point = "angular/packages/compiler/index.js",
deps = ["//packages/compiler"],
)
ts_library(
name = "test_utils",
testonly = True,