diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 147c9280e24..d9ba1a6052c 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -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