Skip to content

Commit 924bded

Browse files
committed
update threshhold
1 parent 261c101 commit 924bded

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
8484
await page.waitForTimeout(500);
8585
}
8686

87-
const customConfig = { threshold: 0.2, thresholdType: 'percent' };
87+
const customConfig = {
88+
threshold: 0.2,
89+
thresholdType: 'percent',
90+
failureThreshold: 0.01,
91+
failureThresholdType: 'percent'
92+
}
8893

8994
function compareSnapshot(image, name, overrideConfig = {}) {
9095
expect(image).toMatchImageSnapshot({

0 commit comments

Comments
 (0)