Skip to content

Commit c678cb8

Browse files
hannahkerarchmoj
andauthored
Update test/jasmine/tests/axes_test.js
Co-authored-by: Mojtaba Samimi <33888540+archmoj@users.noreply.github.com>
1 parent 2ac0b90 commit c678cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/axes_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4386,7 +4386,7 @@ describe('Test axes', function() {
43864386
function assertLayout() {
43874387
var titleTop = getPos(gd, '.xtitle').top;
43884388
var tickBottom = getPos(gd, '.xtick').bottom;
4389-
expect(tickBottom).toBeLessThan(titleTop);
4389+
expect(tickBottom).toBeLessThan(titleTop + 2); // allow two pixels tolerance
43904390
}
43914391

43924392
var fig = require('@mocks/z-automargin-zoom.json');

0 commit comments

Comments
 (0)