angular/integration/cli-hello-world-lazy
Matthieu Riegler 279e7d4465 refactor: cleanup polyfills by importing zone.js directly in angular.json (#48380)
Since v15, polyfills can be passed directly into angular.json. Let's use this opportunity to reduce the number of unecessary files.

PR Close #48380
2022-12-13 13:37:08 -08:00
..
e2e test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
src refactor: cleanup polyfills by importing zone.js directly in angular.json (#48380) 2022-12-13 13:37:08 -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
angular.json refactor: cleanup polyfills by importing zone.js directly in angular.json (#48380) 2022-12-13 13:37:08 -08: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 test: replace --prod with --configuration production (#46548) 2022-06-28 09:39:05 -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

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.