mirror of
https://github.com/codex-team/editor.js
synced 2024-06-17 13:15:20 +02:00
increase closeTo delta for ff
This commit is contained in:
parent
ba8deaaf21
commit
ec73a31c2d
|
@ -26,7 +26,7 @@ describe('Inline Toolbar', () => {
|
|||
const range = selection.getRangeAt(0);
|
||||
const rect = range.getBoundingClientRect();
|
||||
|
||||
expect($toolbar.offset().left).to.closeTo(rect.left, 0.5);
|
||||
expect($toolbar.offset().left).to.closeTo(rect.left, 1);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue