Skip to content

Commit ad1d181

Browse files
remove unused config
1 parent 8a7bfe7 commit ad1d181

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,8 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
8181
await new Promise(r => setTimeout(r, 500));
8282
}
8383

84-
/* const customConfig = {
85-
threshold: 0.3,
86-
thresholdType: 'percent',
87-
failureThreshold: 0.1,
88-
failureThresholdType: 'percent',
89-
customDiffConfig: {
90-
includeAA: false,
91-
threshold: 0.5,
92-
}
93-
};*/
94-
9584
function compareSnapshot(image, name, overrideConfig = {}) {
9685
expect(image).toMatchImageSnapshot({
97-
// customDiffConfig: { ...customConfig, ...overrideConfig },
9886
customSnapshotIdentifier: `${layout}-fluent-${viewportName}-${name}-snap`,
9987
customDiffDir: diffSnapshotsDir,
10088
storeReceivedOnFailure: true,

0 commit comments

Comments
 (0)