Skip to content

Commit

Permalink
Make it clear CRA users don't need to add dependencies (jestjs#3312)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and skovhus committed Apr 29, 2017
1 parent 19faf15 commit 3d7c87c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ applications.

## Setup

If you are just getting started with React, we recommend using [create-react-app](https://github.com/facebookincubator/create-react-app). It is ready to use and [ships with Jest](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)!
### Setup with Create React App

If you are just getting started with React, we recommend using [Create React App](https://github.com/facebookincubator/create-react-app). It is ready to use and [ships with Jest](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)! You don't need to do any extra steps for setup, and can head straight to the next section.

### Setup without Create React App

If you have an existing application you'll need to install a few packages to make everything work well together. We are using the `babel-jest` package and the `react` babel preset to transform our code inside of the test environment. Also see [using babel](/jest/docs/getting-started.html#using-babel).

Expand Down

0 comments on commit 3d7c87c

Please sign in to comment.