0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Fix code formatting in tests

This commit is contained in:
Neil Jenkins 2024-07-17 16:18:59 +10:00
parent 4156fb11d6
commit ac5972b7e3

View file

@ -260,7 +260,10 @@ describe('Squire RTE', () => {
squireContainer.childNodes.item(0).childNodes.item(1), squireContainer.childNodes.item(0).childNodes.item(1),
0, 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.setSelection(range);
editor.fireEvent('selectionchange'); editor.fireEvent('selectionchange');
@ -331,7 +334,7 @@ describe('Squire RTE', () => {
0, 0,
); );
editor.setSelection(range); editor.setSelection(range);
editor.fireEvent('selectionchange') editor.fireEvent('selectionchange');
expect(editor.getPath()).toBe('(selection)'); expect(editor.getPath()).toBe('(selection)');
}); });