mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b757b1387c
The dev-infra build tooling is now decoupled from `ng-dev`. This will make it easier to update `ng-dev` without necessarily needing to upgrade the whole build system, Bazel etc. This is useful when e.g. new release tool features have been added and should also be ported to active LTS branches. PR Close #46976
16 lines
525 B
Python
16 lines
525 B
Python
load("//tools:defaults.bzl", "protractor_web_test_suite")
|
|
|
|
"""
|
|
Macro that can be used to define a e2e test in `modules/benchmarks`. Targets created through
|
|
this macro differentiate from a "benchmark_test" as they will run on CI and do not run
|
|
with `@angular/benchpress`.
|
|
"""
|
|
|
|
def e2e_test(name, server, **kwargs):
|
|
protractor_web_test_suite(
|
|
name = name,
|
|
on_prepare = "@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:start-server.js",
|
|
server = server,
|
|
**kwargs
|
|
)
|