enzyme-to-json
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -70,3 +70,3 @@ { | ||
}, | ||
"version": "1.4.0" | ||
"version": "1.4.1" | ||
} |
@@ -21,3 +21,3 @@ # enzyme-to-json | ||
# Example | ||
# Usage | ||
@@ -67,9 +67,9 @@ ## Helper | ||
className="my-component" | ||
onClick={[Function bound handleClick]}> | ||
onClick={[Function]}> | ||
<span | ||
className="count"> | ||
1 | ||
className="count"> | ||
1 | ||
</span> | ||
<strong> | ||
Hello World! | ||
Hello World! | ||
</strong> | ||
@@ -180,2 +180,3 @@ </div> | ||
For example the output of the first example would be: | ||
```js | ||
@@ -193,2 +194,21 @@ exports[`test renders correctly 1`] = ` | ||
``` | ||
instead of: | ||
```js | ||
exports[`test renders correctly 1`] = ` | ||
<div | ||
className="my-component" | ||
onClick={[Function]}> | ||
<span | ||
className="count"> | ||
1 | ||
</span> | ||
<strong> | ||
Hello World! | ||
</strong> | ||
</div> | ||
`; | ||
``` | ||
which is different from ours. So, if you want to move from `enzyme-to-json` to `jest-serializer-enzyme`, you would have to update all snapshots. | ||
@@ -195,0 +215,0 @@ |
Sorry, the diff of this file is not supported yet
362
23872
14