-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency enzyme to v3 (#2398)
* chore(deps): update dependency enzyme to v3.3.0 * chore: actually move to enzyme 3 Updates enzyme 3 Updates enzyme jest serializer Adds a config file to minimize impact Updates a snapshot that was actually wrong in the first placje
- Loading branch information
1 parent
54f3a35
commit 54778ed
Showing
4 changed files
with
148 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Enzyme from 'enzyme'; | ||
import Adapter from 'enzyme-adapter-react-15'; | ||
Enzyme.configure({ adapter: new Adapter() }); | ||
|
||
import { createSerializer } from 'enzyme-to-json'; | ||
expect.addSnapshotSerializer(createSerializer({ mode: 'deep' })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.