mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-24 17:07:40 +08:00
Bump image snapshot threshold for local & CI tests
This commit is contained in:
@@ -2,7 +2,7 @@ const { configureToMatchImageSnapshot } = require('jest-image-snapshot');
|
||||
|
||||
const toMatchImageSnapshot = configureToMatchImageSnapshot({
|
||||
customDiffConfig: {
|
||||
threshold: 0.1,
|
||||
threshold: 0.2,
|
||||
},
|
||||
customSnapshotIdentifier(data) {
|
||||
return `${data.defaultIdentifier}-${browserName}`;
|
||||
|
||||
Reference in New Issue
Block a user