Skip to content

Commit e12ce1b

Browse files
committed
wider acceptance range for toimage test
1 parent 896471c commit e12ce1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/toimage_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe('Plotly.toImage', function() {
149149
.then(function() { return Plotly.toImage(gd, {format: 'png', imageDataOnly: true}); })
150150
.then(function(d) {
151151
expect(d.indexOf('data:image/')).toBe(-1);
152-
expect(d.length).toBeWithin(50000, 5e3, 'png image length');
152+
expect(d.length).toBeWithin(52500, 7500, 'png image length');
153153
})
154154
.then(function() { return Plotly.toImage(gd, {format: 'jpeg', imageDataOnly: true}); })
155155
.then(function(d) {

0 commit comments

Comments
 (0)