Skip to content

Commit 1eed68c

Browse files
luftywiranda13blainekasten
authored andcommitted
docs: remove suggestion to use v2.x
the latest version of CRA works with jest-enzyme v3.2.0
1 parent 8a0d2a6 commit 1eed68c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/jest-enzyme/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,3 @@ If you are using Create React App, instead of adding to your `package.json` as a
5050
```
5151

5252
This is documented on Create React App at the bottom of the [Testing Components](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#testing-components) section. There is also more information about [Initializing Test Environment](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#initializing-test-environment).
53-
54-
Also, instead of installing the latest version you should stick with versions below 3, because Create React App currently [uses](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/package.json#L50) a version of jest which will cause [this issue](https://github.com/blainekasten/enzyme-matchers/issues/71):
55-
56-
```
57-
yarn add jest-enzyme@2.1.2 --dev
58-
```

0 commit comments

Comments
 (0)