25 lines
495 B
Python
25 lines
495 B
Python
load("//tools:defaults.bzl", "ts_library")
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = 1,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/service-worker/config",
|
|
"//packages/service-worker/worker",
|
|
"//packages/service-worker/worker/testing",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
srcs = [],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|