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"],
|
|
|
|
),
|
2020-09-22 10:42:33 -04:00
|
|
|
visibility = [
|
|
|
|
":__subpackages__",
|
|
|
|
],
|
2018-07-12 18:10:55 -04:00
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli",
|
2019-06-06 15:22:32 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
2020-11-11 10:29:42 -05:00
|
|
|
"//packages/compiler-cli/test/compliance_old/mock_compile",
|
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(
|
2020-11-11 10:29:42 -05:00
|
|
|
name = "compliance_old",
|
2020-01-08 02:56:49 -05:00
|
|
|
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
2018-07-12 18:10:55 -04:00
|
|
|
data = [
|
2020-11-04 15:27:19 -05:00
|
|
|
"//packages/compiler-cli/src/ngtsc/testing/fake_core:npm_package",
|
2018-07-12 18:10:55 -04:00
|
|
|
],
|
2020-09-13 14:31:33 -04:00
|
|
|
shard_count = 2,
|
2018-07-12 18:10:55 -04:00
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|