Skip to content

Commit

Permalink
Fixed ShallowWrapper setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Smith committed Jul 5, 2018
1 parent 7f138d4 commit 29d5ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ Especially useful when you have some HOC-style components to test.

- setup `ShallowWrapper`
```
import Enzyme, { shallow } from 'enzyme';
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-xx';
import until from 'enzyme-shallow-until';
import ShallowWrapper from 'enzyme/ShallowWrapper';
Enzyme.configure({ adapter: new Adapter() });
Expand Down

0 comments on commit 29d5ac3

Please sign in to comment.