Skip to content

Commit 6c1cd15

Browse files
committed
new diff config
1 parent be37112 commit 6c1cd15

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/devextreme-cli/testing/app-template.test.shared.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,14 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
8585
}
8686

8787
const customConfig = {
88-
threshold: 0.2,
88+
threshold: 0.3,
8989
thresholdType: 'percent',
90-
failureThreshold: 0.01,
90+
failureThreshold: 0.02,
9191
failureThresholdType: 'percent',
92-
blur: 1,
92+
customDiffConfig: {
93+
includeAA: false,
94+
threshold: 0.05
95+
}
9396
}
9497

9598
function compareSnapshot(image, name, overrideConfig = {}) {

0 commit comments

Comments
 (0)