Skip to content

Commit 8a253d2

Browse files
committed
robustify mapbox_test
seems like chrome has a more efficient image encoder now
1 parent d4c641b commit 8a253d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/jasmine/tests/mapbox_test.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@ describe('@noCI, mapbox plots', function() {
983983
});
984984

985985
describe('@noCI, mapbox toImage', function() {
986-
var MINIMUM_LENGTH = 1e5;
986+
// decreased from 1e5 - perhaps chrome got better at encoding these
987+
// because I get 99330 and the image still looks correct
988+
var MINIMUM_LENGTH = 8e4;
987989

988990
var gd;
989991

0 commit comments

Comments
 (0)