angular-docs-cn/integration/cli-hello-world
Bjarki cfac8e0764 build: upgrade karma to version 4.4.0 (#39180)
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
2020-10-20 16:27:54 -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 IE10 references from comments in the code (#39090) 2020-10-13 15:51:49 -07:00
.editorconfig test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
.gitignore test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
README.md test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
angular.json test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
browserslist test(core): remove IE10 reference from `browserslist` files (#39090) 2020-10-13 15:51:49 -07: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: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
tsconfig.json test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
tsconfig.spec.json test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
tslint.json test: update integration/cli-hello-world project structure (#33175) 2019-10-21 15:54:06 -04:00
yarn.lock build: upgrade karma to version 4.4.0 (#39180) 2020-10-20 16:27:54 -07:00

README.md

CliHelloWorld

This project was generated with Angular CLI version 9.0.0-next.9.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.