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