diff --git a/.storybook/test-runner.ts b/.storybook/test-runner.ts index 98dad55..b8677e0 100644 --- a/.storybook/test-runner.ts +++ b/.storybook/test-runner.ts @@ -21,6 +21,7 @@ const config: TestRunnerConfig = { expect(image).toMatchImageSnapshot({ customSnapshotsDir, customSnapshotIdentifier: context.id, + comparisonMethod: 'ssim', failureThresholdType: 'percent', failureThreshold: 0.002, });