Skip to content

Commit

Permalink
docs(install): includes @types/jest in install script
Browse files Browse the repository at this point in the history
Closes #786
  • Loading branch information
huafu committed Oct 6, 2018
1 parent b837acd commit b1eed98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -30,7 +30,7 @@ These instructions will get you setup to use `ts-jest` in your project. For more
| | using npm | using yarn |
|---:|---|---|
| **Prerequisites** | `npm i -D jest typescript` | `yarn add --dev jest typescript` |
| **Installing** | `npm i -D ts-jest` | `yarn add --dev ts-jest` |
| **Installing** | `npm i -D ts-jest @types/jest` | `yarn add --dev ts-jest @types/jest` |
| **Creating config** | `node_modules/.bin/ts-jest config:init` | `yarn ts-jest config:init` |
| **Running tests** | `npm t` or `node_modules/.bin/jest` | `yarn test` or `yarn jest` |

Expand Down
4 changes: 2 additions & 2 deletions docs/user/install.md
Expand Up @@ -13,15 +13,15 @@ You can install `ts-jest` and dependencies all at once with the following comman
Using `npm`:

```sh
npm install --save-dev jest typescript ts-jest
npm install --save-dev jest typescript ts-jest @types/jest
```

</div><div class="col-md-6" markdown="block">

Using `yarn`:

```sh
yarn add --dev jest typescript ts-jest
yarn add --dev jest typescript ts-jest @types/jest
```

</div></div>
Expand Down

0 comments on commit b1eed98

Please sign in to comment.