Skip to content

Commit

Permalink
docs: Added note about jest-serializer-enzyme
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantoine committed Dec 6, 2016
1 parent 67c5069 commit 4b2ffc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

Convert [Enzyme](http://airbnb.io/enzyme/) wrappers to a format compatible with [Jest snapshot testing](https://facebook.github.io/jest/docs/tutorial-react.html#snapshot-testing).

**Note:** Although `enzyme-to-json` is great and will remain supported, if you're using [Jest v17.0.0 or higher](https://github.com/facebook/jest/blob/master/CHANGELOG.md#jest-1700), I recommend this Enzyme Snapshot serializer: [jest-serializer-enzyme](https://www.npmjs.com/package/jest-serializer-enzyme).

# Install
```console
$ npm install --save-dev enzyme-to-json
Expand Down

0 comments on commit 4b2ffc3

Please sign in to comment.