30 lines
653 B
Python
30 lines
653 B
Python
|
load("//tools:defaults.bzl", "ts_library", "ts_web_test")
|
||
|
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/test:test_utils",
|
||
|
"//packages/core",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
jasmine_node_test(
|
||
|
name = "test",
|
||
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||
|
data = [
|
||
|
"//packages/common:npm_package",
|
||
|
"//packages/core:npm_package",
|
||
|
],
|
||
|
deps = [
|
||
|
":test_lib",
|
||
|
"//tools/testing:node",
|
||
|
],
|
||
|
)
|