Skip to content

Commit 40d1b17

Browse files
gaearonTimer
authored andcommitted
Note that only jest-enzyme@2.x is compatible
1 parent df7c067 commit 40d1b17

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
@@ -1013,10 +1013,10 @@ Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzym
10131013
expect(wrapper).toContainReact(welcome)
10141014
```
10151015

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

10181018
```sh
1019-
npm install --save-dev jest-enzyme
1019+
npm install --save-dev jest-enzyme@2.x
10201020
```
10211021

10221022
```js

0 commit comments

Comments
 (0)