Socket
Book a DemoInstallSign in
Socket

jest-image-snapshot-diff-reporter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-image-snapshot-diff-reporter

Reports diff images for failing image snapshot tests

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
545
-3.71%
Maintainers
1
Weekly downloads
 
Created
Source

jest-image-snapshot-diff-reporter

Reports diff images for failing image snapshot tests which are using jest-image-snapshot. It helps to debug tests that are failing on CI where you can not access diff images directly.

NOTE: Currently only prints them on console in base64 if CI env variable set

Setup

yarn add --dev jest-image-snapshot-diff-reporter`
"jest": {
  ...
  "reporters": ["default", "jest-image-snapshot-diff-reporter", ...]
  ...
}

Roadmap

  • Respect jest-image-snapshot configuration such as customDiffDir and customSnapshotsDir
  • Support custom reporter function via config, that runs on each diff image. (so that they can be sent to somewhere else such as S3)

FAQs

Package last updated on 12 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.