Skip to content

Commit

Permalink
Note that only jest-enzyme@2.x is compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Apr 9, 2017
1 parent c83ee7a commit 798572a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,10 @@ Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzym
expect(wrapper).toContainReact(welcome)
```

To setup jest-enzyme with Create React App, follow the instructions for [initializing your test environment](#initializing-test-environment) to import `jest-enzyme`.
To setup jest-enzyme with Create React App, follow the instructions for [initializing your test environment](#initializing-test-environment) to import `jest-enzyme`. **Note that currently only version 2.x is compatible with Create React App.**

```sh
npm install --save-dev jest-enzyme
npm install --save-dev jest-enzyme@2.x
```

```js
Expand Down

0 comments on commit 798572a

Please sign in to comment.