angular-docs-cn/packages/upgrade/test/BUILD.bazel

30 lines
689 B
Python
Raw Normal View History

load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
ts_library(
name = "test_lib",
testonly = 1,
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/core",
"//packages/core/testing",
"//packages/platform-browser",
"//packages/platform-browser-dynamic",
"//packages/platform-browser/testing",
"//packages/upgrade",
"//packages/upgrade/static",
"@rxjs",
],
)
ts_web_test_suite(
name = "test_web",
static_files = [
"//:angularjs_scripts",
],
deps = [
":test_lib",
],
)