Skip to content

Commit c11fb3e

Browse files
kiranpsgaearon
authored andcommitted
modified documentation for setting up jest-enzyme (facebook#1562)
1 parent fc49fec commit c11fb3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@ expect(wrapper).toContainReact(welcome)
954954

955955
To setup jest-enzyme with Create React App, follow the instructions for [initializing your test environment](#initializing-test-environment) to import `jest-enzyme`.
956956

957+
```sh
958+
npm install --save-dev jest-enzyme
959+
```
960+
957961
```js
958962
// src/setupTests.js
959963
import 'jest-enzyme';

0 commit comments

Comments
 (0)