Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-image-snapshot

Package Overview
Dependencies
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-image-snapshot - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

5

examples/jest-setup.js

@@ -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": {

6

package.json
{
"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

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