From cbc56977c32c963a4d5f2a8a0220ec6cfce155d2 Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Thu, 23 Jul 2020 11:12:01 -0400 Subject: [PATCH] Remove pixelMatch options (incompatible with ssim) --- tests/e2e/helpers/jest-image-snapshot.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/e2e/helpers/jest-image-snapshot.js b/tests/e2e/helpers/jest-image-snapshot.js index f585527b..3330845e 100644 --- a/tests/e2e/helpers/jest-image-snapshot.js +++ b/tests/e2e/helpers/jest-image-snapshot.js @@ -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}`;