2018-09-11 21:11:32 -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/service-worker/worker/main.js",
|
|
|
|
deps = ["//packages/service-worker/worker:main"],
|
|
|
|
)
|
2017-12-06 09:56:49 -05:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2017-12-06 09:56:49 -05:00
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
2018-04-12 11:04:11 -04:00
|
|
|
"//packages/service-worker/config",
|
2017-12-06 09:56:49 -05:00
|
|
|
"//packages/service-worker/worker",
|
|
|
|
"//packages/service-worker/worker/testing",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|