Suggest a tool

jest-image-snapshot

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What jest-image-snapshot is

jest-image-snapshot is a Jest matcher for visual regression testing that compares images with stored baselines. It adds a toMatchImageSnapshot() assertion that accepts PNG image data, such as a browser screenshot. On the first run, the matcher saves a baseline image in an __image_snapshots__ directory next to the test. Later runs compare each new image with that baseline and produce a diff image on failure. Comparison uses pixelmatch by default, with an experimental SSIM structural similarity mode. Options set the per-pixel difference threshold, Gaussian blur, diff layout direction and custom snapshot directories. Baselines update through the Jest --updateSnapshot flag. Jest is a peer dependency, and versions below Jest 20 are not supported.

Written from the project's README, read .

Category
Visual regression
License
Apache-2.0
Language
JavaScript
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars3,9151
Forks2101
Open issues and PRs421
Contributors801
Commits in the last 90 days01
Last commit2026-05-151
Last releasev6.5.2, 2026-03-091
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

slowLast commit 91 to 365 days before the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed visual regression tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from jest-image-snapshot's, with its source.

Comparisons

How to install

npm i --save-dev jest-image-snapshot
From README, read .

Questions

Is jest-image-snapshot open source?

Yes. jest-image-snapshot is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is jest-image-snapshot maintained?

On 2026-09-22, the last commit to the default branch was on 2026-05-15, so the listed status is slow. Rule: Last commit 91 to 365 days before the fetch date.

How many GitHub stars does jest-image-snapshot have?

3,915 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is jest-image-snapshot written in?

The repository's primary language, as reported by the GitHub API, is JavaScript.

How do I install jest-image-snapshot?

The README gives this command: npm i --save-dev jest-image-snapshot

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read