jest-image-snapshot
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -15,5 +15,6 @@ /* | ||
// outside of this repo use `require('jest-image-snapshot')` instead | ||
const { toMatchImageSnapshot } = require('../src/'); | ||
// eslint runs from root and only looks at root package.json | ||
// eslint-disable-next-line import/no-unresolved | ||
const { toMatchImageSnapshot } = require('jest-image-snapshot'); | ||
expect.extend({ toMatchImageSnapshot }); |
@@ -19,4 +19,5 @@ { | ||
"dependencies": { | ||
"jest": "^22.0.0", | ||
"puppeteer": "^0.13.0" | ||
"jest": "*", | ||
"jest-image-snapshot": "*", | ||
"puppeteer": "*" | ||
}, | ||
@@ -23,0 +24,0 @@ "jest": { |
{ | ||
"name": "jest-image-snapshot", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.", | ||
@@ -49,3 +49,3 @@ "main": "src/index.js", | ||
"is-png": "^1.1.0", | ||
"jest": "^22.0.0", | ||
"jest": "^23.0.0", | ||
"mock-spawn": "^0.2.6" | ||
@@ -63,4 +63,4 @@ }, | ||
"peerDependencies": { | ||
"jest": ">=20 <=22" | ||
"jest": ">=20 <=23" | ||
} | ||
} |
@@ -14,3 +14,3 @@ # jest-image-snapshot | ||
Please note that `Jest` `>=20 <=22` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x | ||
Please note that `Jest` `>=20 <=23` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x | ||
@@ -33,3 +33,3 @@ ## Usage: | ||
See [the examples](./examples/README.md) for more detailed usage | ||
See [the examples](./examples/README.md) for more detailed usage or read about an example use case in the [American Express Technology Blog](https://americanexpress.io/smile-for-the-camera/) | ||
@@ -36,0 +36,0 @@ ### Optional configuration: |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3119875
37
1186