mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-26 01:52:27 +08:00
Fix CI errors on Windows due to image size mismatch
This commit is contained in:
@@ -24,6 +24,7 @@ const toMatchImageSnapshot = configureToMatchImageSnapshot({
|
||||
diffDirection: 'vertical',
|
||||
failureThresholdType: 'percent',
|
||||
noColors: true,
|
||||
allowSizeMismatch: true, // Required for Windows test
|
||||
// pixel or ssim
|
||||
...config.ssimCompare,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user