From cc64d07726c695d4651368a2f71255922ff685ee Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Thu, 23 Jul 2020 04:06:43 -0400 Subject: [PATCH] Set failureThresholdType to percent --- tests/e2e/helpers/jest-image-snapshot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/helpers/jest-image-snapshot.js b/tests/e2e/helpers/jest-image-snapshot.js index 738ae8e9..d34973ae 100644 --- a/tests/e2e/helpers/jest-image-snapshot.js +++ b/tests/e2e/helpers/jest-image-snapshot.js @@ -9,6 +9,7 @@ const toMatchImageSnapshot = configureToMatchImageSnapshot({ }, diffDirection: 'vertical', failureThreshold: 0.04, + failureThresholdType: 'percent', noColors: true, });