2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2018-04-06 12:53:10 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "ngtsc_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-09-25 18:35:03 -04:00
|
|
|
srcs = glob(["**/*.ts"]),
|
2018-04-06 12:53:10 -04:00
|
|
|
deps = [
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli",
|
|
|
|
"//packages/compiler-cli/test:test_utils",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//typescript",
|
2018-04-06 12:53:10 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
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",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//minimist",
|
2018-04-06 12:53:10 -04:00
|
|
|
],
|
|
|
|
)
|