mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Fixes that the integration test size trackings stopped working due to the recent refactorings (switch to the rule from `@angular/dev-infra-private`). The size-tracking does not integrate very-well into Bazel and needs a better solution in the future, allowing for RBE and Windows support, but currently with the new rule/setup/structure the tracking does not validate sizes because: * The `dist/*.js` argument to the tracking script got expanded and messed up the indices. It should be passed as a literal. This now surfaced because the new rule runs commands in a shell. * The name for the size goldens were not computed properly because they were based on `ctx.attr.name`, but given the new structure, the test targets are always named `test`. PR Close #44430
11 lines
461 B
Text
11 lines
461 B
Text
load("//integration:index.bzl", "ng_integration_test")
|
|
|
|
ng_integration_test(
|
|
name = "test",
|
|
# TODO: Re-enable size-tracking:
|
|
# We should define ngDevMode to false in Closure, but --define only works in the global scope.
|
|
# With ngDevMode not being set to false, this size tracking test provides little value but a lot of
|
|
# headache to continue updating the size.
|
|
# track_payload_size = "hello_world_closure",
|
|
setup_chromium = True,
|
|
)
|