mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Benchpress requires a decent amount of work to be ES2022 compliant. This will be done in a followup PR. PR Close #49559
28 lines
667 B
Text
28 lines
667 B
Text
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
# TODO(alanagius) fix benchpress to compile with es2022
|
|
devmode_target = "es2020",
|
|
prodmode_target = "es2020",
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/benchpress",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"@npm//protractor",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node"],
|
|
deps = [
|
|
":test_lib",
|
|
"//packages/benchpress",
|
|
"//packages/core/testing",
|
|
"@npm//protractor",
|
|
],
|
|
)
|