2019-06-18 13:39:29 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "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/common/upgrade/index.js",
|
|
|
|
deps = ["//packages/common/upgrade"],
|
|
|
|
)
|
2019-02-11 17:18:29 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/common/testing",
|
2019-04-23 10:16:08 -04:00
|
|
|
"//packages/common/upgrade",
|
|
|
|
"//packages/core",
|
2019-02-11 17:18:29 -05:00
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_es5"],
|
2019-02-11 17:18:29 -05:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|