From 19c5277593e933a4e2dc8d169182859ff3a8bf1a Mon Sep 17 00:00:00 2001 From: Lufty Wiranda Date: Tue, 30 May 2017 01:50:32 +0700 Subject: [PATCH] docs: update `jest-enzyme` section (#2392) since CRA now use the latest version of Jest under the hood, `jest-enzyme` v3.2.0 is now working perfectly fine --- packages/react-scripts/template/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index a04686c9ce..ca2879b9c1 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -1171,10 +1171,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`. **Note that currently only version 2.x is compatible with Create React App.** +To setup jest-enzyme with Create React App, follow the instructions for [initializing your test environment](#initializing-test-environment) to import `jest-enzyme`. ```sh -npm install --save-dev jest-enzyme@2.x +npm install --save-dev jest-enzyme ``` ```js