angular-cn/integration/cli-hello-world-lazy
Alan Agius 3e2f09ca88 test: enable `namedChunks` in `cli-hello-world-lazy` integration test (#41636)
This ensure that the name of the lazy chunk remains the same during updates. When not using `namedChunks` the id of the bundle is set to "deterministic", which means that the bundle name changes whenever the bundle is updated.

PR Close #41636
2021-04-15 14:37:26 -07:00
..
e2e test: use puppeteer in integration tests and to download correct chromedriver (#35049) 2020-02-11 13:16:52 -08:00
src docs: remove augury resource (#41107) 2021-03-08 10:00:13 -08: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
README.md ci: migrate payload size tracking goldens to the golden directory (#36455) 2020-04-24 09:05:11 -07:00
angular.json test: enable `namedChunks` in `cli-hello-world-lazy` integration test (#41636) 2021-04-15 14:37:26 -07:00
browserslist test(core): remove IE10 reference from `browserslist` files (#39090) 2020-10-13 15:51:49 -07: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: use puppeteer in integration tests and to download correct chromedriver (#35049) 2020-02-11 13:16:52 -08:00
package.json build: upgrade karma to version 4.4.0 (#39180) 2020-10-20 16:27:54 -07:00
tsconfig.app.json test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04: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 test: add integration test for lazy chunks and ngDevMode in cli apps (#32957) 2019-10-21 11:27:43 -04: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: upgrade `webdriver-manager` to v12.1.8 (#40756) 2021-02-17 06:52:31 -08:00

README.md

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.