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-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_es5"],
|
2018-11-30 20:57:39 -05:00
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"//packages/service-worker/config",
|
|
|
|
"//packages/service-worker/config/testing",
|
|
|
|
],
|
|
|
|
)
|