Commit 6d22a789 authored by kiran ps's avatar kiran ps Committed by Dan Abramov
Browse files

modified documentation for setting up jest-enzyme (#1562)

parent 9c33f602
4 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,!1933Add note about installing watchman
Showing with 4 additions and 0 deletions
+4 -0
...@@ -954,6 +954,10 @@ expect(wrapper).toContainReact(welcome) ...@@ -954,6 +954,10 @@ 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`.
```sh
npm install --save-dev jest-enzyme
```
```js ```js
// src/setupTests.js // src/setupTests.js
import 'jest-enzyme'; import 'jest-enzyme';
......
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