Socket
Socket
Sign inDemoInstall

enzyme-to-json

Package Overview
Dependencies
124
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc