Files
angular__angular/packages/compiler-cli/test/diagnostics/BUILD.bazel
T
Joey Perrott a365a1f0ff build: rename "no-ivy-aot" tag to "view-engine-only" (#43862)
Using the tag "view-engine-only" better describes the expected usage of bazel targets with the test. They can
only be run with view engine.

PR Close #43862
2021-10-19 10:06:55 -07:00

52 lines
1.2 KiB
Python

load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
# check_types_spec
ts_library(
name = "check_types_lib",
testonly = True,
srcs = ["check_types_spec.ts"],
deps = [
"//packages/compiler-cli",
"//packages/compiler-cli/test:test_utils",
"@npm//typescript",
],
)
jasmine_node_test(
name = "check_types",
timeout = "long", # 900 seconds
bootstrap = ["//tools/testing:node_es5"],
data = [
"@npm//@angular/common-12",
"@npm//@angular/core-12",
],
tags = [
# Disabled as these tests pertain to typechecking in the old ngc compiler. The Ivy ngtsc
# compiler has its own typechecking implementation and tests.
"view-engine-only",
],
deps = [
":check_types_lib",
"//packages/core",
],
)
# typescript_version_spec
ts_library(
name = "typescript_version_lib",
testonly = True,
srcs = ["typescript_version_spec.ts"],
deps = [
"//packages/compiler-cli",
"//packages/compiler-cli/test:test_utils",
],
)
jasmine_node_test(
name = "typescript_version",
bootstrap = ["//tools/testing:node_es5"],
deps = [
":typescript_version_lib",
],
)