Skip to content

Commit

Permalink
Update .storybook/test-runner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Sep 14, 2023
1 parent 9052227 commit 3750f6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .storybook/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ async function expectLocatorToMatchStorySnapshot(
// See https://github.com/americanexpress/jest-image-snapshot#recommendations-when-using-ssim-comparison
comparisonMethod: 'ssim',
// 0.01 would be a 1% difference
// 0.005 is a 0.5% difference
failureThreshold: 0.005,
failureThreshold: 0.01,
failureThresholdType: 'percent',
})
}

0 comments on commit 3750f6d

Please sign in to comment.