2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "karma_web_test_suite", "ts_library")
|
2020-01-14 09:31:13 -05:00
|
|
|
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
|
|
|
|
|
|
|
circular_dependency_test(
|
|
|
|
name = "circular_deps_test",
|
|
|
|
entry_point = "angular/packages/router/upgrade/index.js",
|
|
|
|
deps = ["//packages/router/upgrade"],
|
|
|
|
)
|
2017-11-07 12:21:48 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2017-11-07 12:21:48 -05:00
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/core/testing",
|
2018-12-03 06:14:54 -05:00
|
|
|
"//packages/private/testing",
|
2017-11-07 12:21:48 -05:00
|
|
|
"//packages/router",
|
|
|
|
"//packages/router/upgrade",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2017-11-07 12:21:48 -05:00
|
|
|
name = "test_web",
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|