Building the product · Independent · 19 Oct 2026

americanexpress/jest-image-snapshot

✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.

← Building the product

In simple English

This tool helps you catch visual bugs in your web pages. It takes a screenshot of your app during a test. It compares that picture against a saved baseline image. If the pictures do not match, the test fails and shows you the difference. You can run tests inside your existing test runner without learning a new system.

What it is

A JavaScript library that adds image comparison functions to the Jest (a popular JavaScript testing framework) test runner. It uses pixel comparison algorithms to detect unwanted visual changes.

What it is good for

Web developers who want to stop visual regressions before their code reaches production.

Stars3.9k
LicenceApache-2.0
Latestv6.5.2 (2026-03-09)checked 19 Oct 2026
Last code change2026-10-17
Written inJavaScript
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Integrates directly into your existing Jest test suite.
  • Saves clear side-by-side comparison images when tests fail.
  • Supports adjustable thresholds so minor pixel noise does not fail tests.
Watch for
  • Requires an existing Jest test setup to function.
  • Tests can produce false failures across different operating systems due to font rendering.
  • Baseline images can take up significant storage space in your repository.
Replaces

Manual visual inspection of web pages in a browser.

Works well with

Jest

Similar repositories
  • garris/BackstopJS7.2k stars

    A standalone visual regression testing tool that compares DOM screenshots across screen sizes.

Also reviewed on Repo Radar
  • python/mypy21k stars

    The reference type checker for Python, run from the command line.

  • HypothesisWorks/hypothesis9.1k stars

    A Python library that generates test inputs and reduces any failure to the smallest example that still fails.

  • wntrblm/nox1.6k stars

    Runs your tests and other jobs in fresh isolated environments, described in an ordinary Python file.

Install
npm i --save-dev jest-image-snapshot

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.