Socket
Socket
Sign inDemoInstall

jest-serializer-html

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-serializer-html - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

CHANGELOG.md

2

index.js

@@ -10,4 +10,6 @@ var beautify = require('js-beautify').html;

unformatted: [],
wrap_attributes: 'force-aligned',
indent_size: 2
});
},
};

5

package.json
{
"name": "jest-serializer-html",
"version": "1.0.2",
"version": "2.0.0",
"description": "Jest snapshot serializer that beautifies HTML.",

@@ -9,3 +9,4 @@ "main": "index.js",

"scripts": {
"test": "jest --verbose"
"test": "jest --verbose",
"test:update": "jest --verbose --updateSnapshot"
},

@@ -12,0 +13,0 @@ "files": [

@@ -19,3 +19,3 @@ # A Jest snapshot serializer that beautifies HTML.

# With yarn
yarn add -D jest-serializer-html
yarn add --dev jest-serializer-html
```

@@ -44,5 +44,5 @@

<ul>
<li>
<a href="#">My HTML</a>
</li>
<li>
<a href="#">My HTML</a>
</li>
</ul>

@@ -89,5 +89,5 @@ `;

<ul>
<li>
<a href="#">My HTML</a>
</li>
<li>
<a href="#">My HTML</a>
</li>
</ul>

@@ -94,0 +94,0 @@ `;

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc