Skip to content

Commit 1f1e7ae

Browse files
committed
adjust mapbox_angles compare test
1 parent 109f394 commit 1f1e7ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/image/compare_pixels_test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ for(var i = 0; i < allMockList.length; i++) {
124124

125125
var numDiffPixels = pixelmatch(img0.data, img1.data, diff.data, width, height, {
126126
threshold: shouldBePixelPerfect ? 0 :
127-
mockName === 'mapbox_geojson-attributes' ? 0.25 : 0.15
127+
[
128+
// more flaky
129+
'mapbox_angles',
130+
'mapbox_geojson-attributes'
131+
].indexOf(mockName) !== -1 ? 0.25 : 0.15
128132
});
129133

130134
if(numDiffPixels) {

0 commit comments

Comments
 (0)