jest-serializer-html
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -10,4 +10,6 @@ var beautify = require('js-beautify').html; | ||
unformatted: [], | ||
wrap_attributes: 'force-aligned', | ||
indent_size: 2 | ||
}); | ||
}, | ||
}; |
{ | ||
"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 @@ `; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3611
4
13