2019-07-30 13:02:17 -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/localize/index.js",
|
|
|
|
deps = ["//packages/localize"],
|
|
|
|
)
|
2019-07-30 13:02:17 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(
|
2019-09-13 07:46:05 -04:00
|
|
|
["**/*_spec.ts"],
|
2019-07-30 13:02:17 -04:00
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/localize",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/init",
|
2019-10-08 09:46:28 -04:00
|
|
|
"//packages/localize/src/utils",
|
2019-07-30 13:02:17 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
2019-07-30 13:02:17 -04:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|