mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
40534d7de1
Use ts_project to build targets in benchpress package PR Close #61486
29 lines
648 B
Python
29 lines
648 B
Python
load("//tools:defaults.bzl", "jasmine_node_test")
|
|
load("//tools:defaults2.bzl", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
interop_deps = [
|
|
"//packages:types",
|
|
],
|
|
deps = [
|
|
"//:node_modules/protractor",
|
|
"//packages/benchpress:benchpress_rjs",
|
|
"//packages/core:core_rjs",
|
|
"//packages/core/testing:testing_rjs",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node"],
|
|
deps = [
|
|
":test_lib",
|
|
"//packages/benchpress",
|
|
"//packages/core/testing",
|
|
"@npm//protractor",
|
|
],
|
|
)
|