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/upgrade/static/index.js",
|
|
|
|
deps = ["//packages/upgrade/static"],
|
|
|
|
)
|
2017-12-17 18:10:54 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2019-03-22 05:42:52 -04:00
|
|
|
srcs = glob([
|
|
|
|
"**/*.ts",
|
|
|
|
]),
|
2017-12-17 18:10:54 -05:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
|
|
|
"//packages/platform-browser/testing",
|
2019-03-22 05:42:52 -04:00
|
|
|
"//packages/upgrade/src/common",
|
|
|
|
"//packages/upgrade/src/common/test/helpers",
|
2017-12-17 18:10:54 -05:00
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2019-03-22 05:42:52 -04:00
|
|
|
name = "test",
|
2018-05-31 02:49:37 -04:00
|
|
|
static_files = [
|
|
|
|
"//:angularjs_scripts",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|