mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
Try SSIM
This commit is contained in:
@@ -28,4 +28,8 @@
|
||||
|
||||
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
|
||||
|
||||
addMatchImageSnapshotCommand();
|
||||
addMatchImageSnapshotCommand({
|
||||
comparisonMethod: 'ssim',
|
||||
failureThreshold: 0.01,
|
||||
failureThresholdType: 'percent',
|
||||
});
|
||||
|
Reference in New Issue
Block a user