mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-24 17:07:40 +08:00
Remove pixelMatch options (incompatible with ssim)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
const { configureToMatchImageSnapshot } = require('jest-image-snapshot');
|
||||
|
||||
const toMatchImageSnapshot = configureToMatchImageSnapshot({
|
||||
customDiffConfig: {
|
||||
threshold: 0.3,
|
||||
},
|
||||
comparisonMethod: 'ssim',
|
||||
customSnapshotIdentifier(data) {
|
||||
return `${data.defaultIdentifier}-${browserName}`;
|
||||
|
||||
Reference in New Issue
Block a user