diff --git a/tests/e2e/helpers/jest-image-snapshot.js b/tests/e2e/helpers/jest-image-snapshot.js index b92f2b4e..0cd4e725 100644 --- a/tests/e2e/helpers/jest-image-snapshot.js +++ b/tests/e2e/helpers/jest-image-snapshot.js @@ -1,6 +1,9 @@ const { configureToMatchImageSnapshot } = require('jest-image-snapshot'); const toMatchImageSnapshot = configureToMatchImageSnapshot({ + customDiffConfig: { + threshold: 0.1, + }, customSnapshotIdentifier(data) { return `${data.defaultIdentifier}-${browserName}`; },