Skip to content

Commit 93d91ed

Browse files
committed
Try lower threshold for flaky maps
1 parent 16b8622 commit 93d91ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/image/compare_pixels_test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ for (let mockName of allMockList) {
7979

8080
let threshold = 0;
8181
if (flakyList.has(mockName)) threshold = 0.2;
82-
else if (flakyListMaps.has(mockName)) threshold = 1; // This threshold means any colors will match
82+
else if (flakyListMaps.has(mockName)) threshold = 0.7;
8383
if (virtualWebgl) threshold = Math.max(threshold, flakyVirtualWebgl.has(mockName) ? 0.7 : 0.4);
8484

8585
if (mathjax3) mockName = 'mathjax3___' + mockName;

0 commit comments

Comments
 (0)