angular-cn/packages/service-worker/config/test/BUILD.bazel

26 lines
631 B
Python

load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(
["**/*.ts"],
),
deps = [
"//packages/service-worker/config",
"//packages/service-worker/config/testing",
],
)
jasmine_node_test(
name = "test",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":test_lib",
"//packages/service-worker/config",
"//packages/service-worker/config/testing",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)