2018-05-11 12:43:06 -04:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
2018-04-06 12:53:10 -04:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "ngtsc_lib",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = [
|
|
|
|
"ngtsc_spec.ts",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli",
|
|
|
|
"//packages/compiler-cli/test:test_utils",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "ngtsc",
|
|
|
|
bootstrap = ["angular/tools/testing/init_node_no_angular_spec.js"],
|
|
|
|
data = [
|
|
|
|
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":ngtsc_lib",
|
|
|
|
"//tools/testing:node_no_angular",
|
|
|
|
],
|
|
|
|
)
|