-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Same as #15, but that was closed a few years ago, so filing a new issue seems reasonable.
Again, I'm trying to migrate from jest-image-snapshot
. That lib allows specifying threshold and other options through the matcher, like so:
expect(screenshot).toMatchImageSnapshot({
failureThreshold: 0.0004,
failureThresholdType: 'percent',
});
Wondering if you would support something similar? The reasoning is quite obvious - some screenshot tests are quite flaky when run through Chrome/Puppeteer, so in some rare cases we raise the failure threshold so tests wouldn't fail all the time.
tujoworker, kasparsuvi1 and HaveSpacesuit
Metadata
Metadata
Assignees
Labels
No labels