Skip to content

Commit

Permalink
Merge pull request #5 from anthonator/patch-1
Browse files Browse the repository at this point in the history
Fixed ShallowWrapper setup instructions
  • Loading branch information
Stupid committed Jul 6, 2018
2 parents 7f138d4 + 29d5ac3 commit 85b1d32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
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 85b1d32

Please sign in to comment.