2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2018-07-12 18:10:55 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-07-12 18:10:55 -04:00
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli",
|
2019-06-06 15:22:32 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
2018-07-12 18:10:55 -04:00
|
|
|
"//packages/compiler/test:test_utils",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//typescript",
|
2018-07-12 18:10:55 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "compliance",
|
2018-08-01 03:52:34 -04:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_no_angular_spec.js"],
|
2018-07-12 18:10:55 -04:00
|
|
|
data = [
|
2018-08-01 03:52:34 -04:00
|
|
|
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
2018-07-12 18:10:55 -04:00
|
|
|
],
|
2019-03-08 19:35:36 -05:00
|
|
|
shard_count = 4,
|
2018-07-12 18:10:55 -04:00
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
2018-08-01 03:52:34 -04:00
|
|
|
"//tools/testing:node_no_angular",
|
2018-07-12 18:10:55 -04:00
|
|
|
],
|
|
|
|
)
|