Fix CI errors on Windows due to image size mismatch

This commit is contained in:
John Hildenbiddle
2020-07-23 15:15:11 -04:00
parent 8c9aef7cb0
commit ee87b236a1
+1
View File
@@ -24,6 +24,7 @@ const toMatchImageSnapshot = configureToMatchImageSnapshot({
diffDirection: 'vertical',
failureThresholdType: 'percent',
noColors: true,
allowSizeMismatch: true, // Required for Windows test
// pixel or ssim
...config.ssimCompare,
});