angular-cn/packages/compiler-cli/test/transformers/BUILD.bazel

40 lines
1.0 KiB
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/reflection",
"//packages/compiler-cli/test:test_utils",
"//packages/compiler/test:test_utils",
"//packages/core",
"//packages/platform-browser",
"@npm//typescript",
],
)
jasmine_node_test(
name = "test",
timeout = "long", # 900 seconds
bootstrap = ["//tools/testing:node_es5"],
data = [
"//packages/common:npm_package",
"//packages/core:npm_package",
"//packages/router:npm_package",
],
tags = [
# Disabled as these tests pertain to the old compiler and not ngtsc, which doesn't use any
# of these transformer utilities.
"no-ivy-aot",
],
deps = [
":test_lib",
"//packages/core",
"@npm//source-map",
],
)