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

30 lines
848 B
Python

load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["*.ts"]),
deps = [
"//packages/language-service/ivy",
"@npm//typescript",
],
)
jasmine_node_test(
name = "test",
data = [
# Note that we used to depend on the npm_package of common, core, and
# forms, but this is no longer the case. We did it for View Engine
# because we wanted to load the flat dts, which is only available in the
# npm_package. Ivy does not currently produce flat dts, so we might
# as well just depend on the outputs of ng_module.
"//packages/common",
"//packages/core",
"//packages/forms",
"//packages/language-service/test:project",
],
deps = [
":test_lib",
],
)