Skip to content

Commit

Permalink
Adjust settings for comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Oct 24, 2020
1 parent 6660374 commit e04aa5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion e2e-tests/visual-regression/cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ import "gatsby-cypress"
import { addMatchImageSnapshotCommand } from "cypress-image-snapshot/command"

addMatchImageSnapshotCommand({
customDiffDir: `/__diff_output__`,
customDiffDir: `/__diff_output__`,
customDiffConfig: {
threshold: 0.05
},
failureThreshold: 0.01,
failureThresholdType: `percent`
})

0 comments on commit e04aa5f

Please sign in to comment.