Remove pixelMatch options (incompatible with ssim)

This commit is contained in:
John Hildenbiddle
2020-07-23 11:12:01 -04:00
parent 9754cf9991
commit cbc56977c3
-3
View File
@@ -1,9 +1,6 @@
const { configureToMatchImageSnapshot } = require('jest-image-snapshot');
const toMatchImageSnapshot = configureToMatchImageSnapshot({
customDiffConfig: {
threshold: 0.3,
},
comparisonMethod: 'ssim',
customSnapshotIdentifier(data) {
return `${data.defaultIdentifier}-${browserName}`;