Skip to content

Commit f4227e4

Browse files
committed
add tolerance Drawing.bbox on window.scroll test
... to make them pass on etpinard's laptop on using Ubuntu 18.04 and Chrome 69
1 parent fc7c746 commit f4227e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/drawing_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ describe('Drawing', function() {
363363
'width', 'left', 'right'
364364
].forEach(function(dim) {
365365
// give larger dimensions some extra tolerance
366-
var tol = Math.max(expected[dim] / 10, 3);
366+
var tol = Math.max(expected[dim] / 10, 3.5);
367367
expect(actual[dim]).toBeWithin(expected[dim], tol, dim);
368368
});
369369
}

0 commit comments

Comments
 (0)