Open chrismansfield opened 2 years ago
This adds the possibility to override the settings detectAntialiasing, colorThreshold, pixelThresholdAbsolute and pixelThresholdRelative via parameters to the matcher;
detectAntialiasing
colorThreshold
pixelThresholdAbsolute
pixelThresholdRelative
expect(myFlakyImage).toMatchImageSnapshot({ detectAntialiasing: true, colorThreshold: 0.1, pixelThresholdAbsolute: 25, pixelThresholdRelative: 0.1 });
This fixes #72
I am currently very busy, I am sorry that I did not yet have the time to review this :(
Thanks for the PR! This looks promising 🙌 very good work @chrismansfield
This adds the possibility to override the settings
detectAntialiasing
,colorThreshold
,pixelThresholdAbsolute
andpixelThresholdRelative
via parameters to the matcher;This fixes #72