31 lines
708 B
Python
31 lines
708 B
Python
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
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/compiler-cli/integrationtest/bazel/injectable_def/app",
|
||
|
"//packages/core",
|
||
|
"//packages/platform-server",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
jasmine_node_test(
|
||
|
name = "test",
|
||
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||
|
deps = [
|
||
|
":test_lib",
|
||
|
"//packages/platform-server",
|
||
|
"//packages/platform-server/testing",
|
||
|
"//tools/testing:node",
|
||
|
],
|
||
|
)
|