mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
15 lines
525 B
Python
15 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
|
|
)
|