Skip to content

Commit ee77c24

Browse files
committed
Use threshold of 0.05
1 parent 0192495 commit ee77c24

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

__tests__/constants.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"browserName": "chrome-docker",
33
"imageSnapshotOptions": {
44
"customDiffConfig": {
5-
"threshold": 0
5+
"threshold": 0.05
66
},
77
"noColors": true
88
},

packages/test/harness/src/host/jest/setupToMatchImageSnapshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ global.expect &&
44
global.expect.extend({
55
toMatchImageSnapshot: configureToMatchImageSnapshot({
66
customDiffConfig: {
7-
threshold: 0
7+
threshold: 0.05
88
},
99
noColors: true
1010
})

0 commit comments

Comments
 (0)