Commit 798572a8 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Note that only jest-enzyme@2.x is compatible

parent c83ee7a3
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 2 deletions
+2 -2
...@@ -1015,10 +1015,10 @@ Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzym ...@@ -1015,10 +1015,10 @@ Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzym
expect(wrapper).toContainReact(welcome) 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 ```sh
npm install --save-dev jest-enzyme npm install --save-dev jest-enzyme@2.x
``` ```
```js ```js
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment