29 lines
805 B
Python
29 lines
805 B
Python
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
||
|
|
||
|
ts_library(
|
||
|
name = "test_lib",
|
||
|
testonly = True,
|
||
|
srcs = glob(["*.ts"]),
|
||
|
deps = [
|
||
|
"@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",
|
||
|
],
|
||
|
)
|