Skip to content

Commit 19c5277

Browse files
luftywiranda13gaearon
authored andcommitted
docs: update jest-enzyme section (facebook#2392)
since CRA now use the latest version of Jest under the hood, `jest-enzyme` v3.2.0 is now working perfectly fine
1 parent bcf398d commit 19c5277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-scripts/template/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1171,10 +1171,10 @@ Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzym
11711171
expect(wrapper).toContainReact(welcome)
11721172
```
11731173

1174-
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.**
1174+
To setup jest-enzyme with Create React App, follow the instructions for [initializing your test environment](#initializing-test-environment) to import `jest-enzyme`.
11751175

11761176
```sh
1177-
npm install --save-dev jest-enzyme@2.x
1177+
npm install --save-dev jest-enzyme
11781178
```
11791179

11801180
```js

0 commit comments

Comments
 (0)