33 lines
708 B
Python
33 lines
708 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/compiler",
|
|
"//packages/compiler-cli",
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
"//packages/compiler/test:test_utils",
|
|
"@npm//typescript",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "compliance",
|
|
bootstrap = ["//tools/testing:node_no_angular_es5"],
|
|
data = [
|
|
"//packages/compiler-cli/test/ngtsc/fake_core:npm_package",
|
|
],
|
|
shard_count = 4,
|
|
tags = [
|
|
"ivy-only",
|
|
],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|