2018-11-30 20:57:39 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = True,
|
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages/service-worker/config",
|
2018-12-10 17:36:45 -05:00
|
|
|
"//packages/service-worker/config/testing",
|
2018-11-30 20:57:39 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-10 16:40:02 -05:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
2018-11-30 20:57:39 -05:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"//packages/service-worker/config",
|
|
|
|
"//packages/service-worker/config/testing",
|
2020-01-10 16:39:37 -05:00
|
|
|
"//tools/testing:node",
|
2018-11-30 20:57:39 -05:00
|
|
|
],
|
|
|
|
)
|