angular-docs-cn/packages/compiler-cli/test/metadata/BUILD.bazel

27 lines
558 B
Python
Raw Normal View History

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/compiler",
"//packages/compiler-cli",
"//packages/core",
],
)
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
data = [
],
deps = [
":test_lib",
"//packages/core",
"//tools/testing:node",
],
)