2018-01-09 18:24:00 -05:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
2017-12-06 09:56:49 -05:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = 1,
|
|
|
|
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",
|
|
|
|
srcs = [],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|