Skip to content

Commit

Permalink
docs(gettingStarted): add Yarn install (jestjs#3588)
Browse files Browse the repository at this point in the history
* docs(gettingStarted): add Yarn install

cc @cpojer

* Update GettingStarted.md
  • Loading branch information
Haroenv authored and cpojer committed May 17, 2017
1 parent 9f7742e commit 922a134
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/en/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Install Jest using `npm`:
npm install --save-dev jest
```

Or via [`yarn`](https://yarnpkg.com/en/package/jest):

```
yarn add --dev jest
```

Let's get started by writing a test for a hypothetical function that adds two numbers. First, create a `sum.js` file:

```javascript
Expand Down

0 comments on commit 922a134

Please sign in to comment.