Skip to content

Commit 798572a

Browse files
authored
Note that only [email protected] is compatible
1 parent c83ee7a commit 798572a

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

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

10201020
```sh
1021-
npm install --save-dev jest-enzyme
1021+
npm install --save-dev jest-enzyme@2.x
10221022
```
10231023

10241024
```js

0 commit comments

Comments
 (0)