2018-07-16 03:49:56 -04:00
|
|
|
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/src/ngcc",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/host",
|
|
|
|
"//packages/compiler-cli/src/ngtsc/testing",
|
2018-07-16 03:55:04 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/transform",
|
2018-07-16 03:49:56 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
bootstrap = ["angular/tools/testing/init_node_no_angular_spec.js"],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
"//tools/testing:node_no_angular",
|
|
|
|
],
|
|
|
|
)
|