docs(schematics): update jest schematics (#1039)

This commit is contained in:
Jason Jean 2019-02-01 10:27:01 -05:00 committed by GitHub
parent 049fd330f6
commit 754543e9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,12 @@
## How to use Jest
### Setting up your workspace to use Jest
### Generating an Application which uses Jest
First, add the appropriate configuration and dependencies via:
The following command will generate a new application which is configured to use jest as its test runner.
```sh
ng generate jest
ng generate application my-app --unit-test-runner jest
```
### Generating a Library which uses Jest