mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
de03e93262
Our integration tests are based on the CLI. CLI build force the target to ES2022 else it logs a warning PR Close #58022
CliHelloWorldLazy
This test checks bundle sizes when there is a lazy module. It also checks if the ngDevMode global variable and string references in packages/core/src/util/ng_dev_mode.ts are correctly removed.
This test contains a lazy route to ensure ngDevMode removal happens even across chunks, and a payload size check in /goldens/size-tracking/integration-payloads.json to ensure extra code is not retained accidentally.