Skip to content

Commit 8e1747f

Browse files
committed
bigger tolerance on updatemenus_test width test
1 parent 6653da7 commit 8e1747f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/updatemenus_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ describe('update menus interactions', function() {
698698

699699
// must compare with a tolerance as the exact result
700700
// is browser/font dependent (via getBBox)
701-
expect(Math.abs(actualWidth - width)).toBeLessThan(12);
701+
expect(Math.abs(actualWidth - width)).toBeLessThan(16);
702702

703703
// height is determined by 'fontsize',
704704
// so no such tolerance is needed

0 commit comments

Comments
 (0)