mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-21 23:03:11 -05:00
Fix code formatting in tests
This commit is contained in:
parent
4156fb11d6
commit
ac5972b7e3
1 changed files with 5 additions and 2 deletions
|
@ -260,7 +260,10 @@ describe('Squire RTE', () => {
|
|||
squireContainer.childNodes.item(0).childNodes.item(1),
|
||||
0,
|
||||
);
|
||||
range.setEnd(squireContainer.childNodes.item(0).childNodes.item(1), 0);
|
||||
range.setEnd(
|
||||
squireContainer.childNodes.item(0).childNodes.item(1),
|
||||
0,
|
||||
);
|
||||
editor.setSelection(range);
|
||||
editor.fireEvent('selectionchange');
|
||||
|
||||
|
@ -331,7 +334,7 @@ describe('Squire RTE', () => {
|
|||
0,
|
||||
);
|
||||
editor.setSelection(range);
|
||||
editor.fireEvent('selectionchange')
|
||||
editor.fireEvent('selectionchange');
|
||||
|
||||
expect(editor.getPath()).toBe('(selection)');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue