From ee87b236a108d76f97a5228f5b63c613f25795ca Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Thu, 23 Jul 2020 15:15:11 -0400 Subject: [PATCH] Fix CI errors on Windows due to image size mismatch --- 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 624e6c5f..e6f671c8 100644 --- a/tests/e2e/helpers/jest-image-snapshot.js +++ b/tests/e2e/helpers/jest-image-snapshot.js @@ -24,6 +24,7 @@ const toMatchImageSnapshot = configureToMatchImageSnapshot({ diffDirection: 'vertical', failureThresholdType: 'percent', noColors: true, + allowSizeMismatch: true, // Required for Windows test // pixel or ssim ...config.ssimCompare, });