angular/integration/cli-hello-world-lazy
Matthieu Riegler aebf1158f6 ci: Remove environment files and EnableProdMode on integration tests (#49746)
Since v15, prod mode is handled by the CLI with the `optimization` flag. We can remove the environement files and `enableProdMode` when the tests use the CLI.

PR Close #49746
2023-04-14 14:13:33 +00:00
..
e2e test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
src ci: Remove environment files and EnableProdMode on integration tests (#49746) 2023-04-14 14:13:33 +00:00
.editorconfig test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04:00
.gitignore docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
angular.json ci: Remove environment files and EnableProdMode on integration tests (#49746) 2023-04-14 14:13:33 +00:00
BUILD.bazel build: fix integration test size trackings not running after recent refactoring (#44430) 2021-12-10 16:31:04 -05:00
check-output-for-ngdevmode.js test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04:00
karma.conf.js test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
package.json build: sort integration package.json dependencies (#49787) 2023-04-11 10:26:43 -07:00
README.md ci: migrate payload size tracking goldens to the golden directory (#36455) 2020-04-24 09:05:11 -07:00
tsconfig.app.json refactor: cleanup polyfills by importing zone.js directly in angular.json (#48380) 2022-12-13 13:37:08 -08:00
tsconfig.json test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04:00
tsconfig.spec.json refactor: cleanup polyfills by importing zone.js directly in angular.json (#48380) 2022-12-13 13:37:08 -08:00
tslint.json test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04:00
yarn.lock build: re-add lock files for integration tests (#49787) 2023-04-11 10:26:42 -07:00

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.