This commit is contained in:
Sidharth Vinod
2022-12-07 15:07:08 +05:30
parent e6e02a9b70
commit 86cab46cf0

View File

@@ -28,4 +28,8 @@
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
addMatchImageSnapshotCommand();
addMatchImageSnapshotCommand({
comparisonMethod: 'ssim',
failureThreshold: 0.01,
failureThresholdType: 'percent',
});