Skip to content

Commit

Permalink
chore: adjust snapshot threshod
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Oct 27, 2022
1 parent f95e6bd commit 9709a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/integration/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function diff(src: string, target: string) {
const img2 = PNG.sync.read(fs.readFileSync(target));
const { width, height } = img1;
return pixelmatch(img1.data, img2.data, null, width, height, {
threshold: 0.1,
threshold: 1,
});
}

Expand Down

0 comments on commit 9709a44

Please sign in to comment.