angular-docs-cn/packages/language-service/test/BUILD.bazel

31 lines
780 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/test:test_utils",
"//packages/language-service",
],
)
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
data = [
"//packages/common:npm_package",
"//packages/compiler:npm_package",
"//packages/core:npm_package",
"//packages/forms:npm_package",
],
# disable since tests are running but not yet passing
deps = [
":test_lib",
"//tools/testing:node",
],
)