cfac8e0764
Upgrade the karma dependency to version 4.4.0 in the root package.json and in integration tests. Compared to version 4.3.0, which most of the packages were previously depending on, it has the following changes: Bug Fixes - runner: remove explicit error on all tests failed Features - client: Add trusted types support - Preprocessor can return Promise - config: add failOnSkippedTests option. - config: clientDisplayNone sets client elements display none. - deps: Remove core-js dependency. The motivation for upgrading the package is the Trusted Types support that it adds, which is necessary to enable Trusted Types in Angular's unit tests. PR Close #39180 |
||
---|---|---|
.. | ||
e2e | ||
src | ||
.editorconfig | ||
.gitignore | ||
README.md | ||
angular.json | ||
browserslist | ||
check-output-for-ngdevmode.js | ||
karma.conf.js | ||
package.json | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
tslint.json | ||
yarn.lock |
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.