Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/test/editor.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,10 @@ export async function runCodeMirrorTests(writeOutput) {
test.assertEqual(view.state.doc.toString(), doc);
test.assertEqual(view.state.selection.main.from, from);
test.assertEqual(view.state.selection.main.to, to);
test.assert(!view.hasFocus, "Read-only Copy must not focus the editor");
test.assert(
!view.hasFocus,
"Read-only Copy must not focus the editor",
);

quickToolsActions("ctrl");
dispatchQuickToolsTextInput("x");
Expand All @@ -855,7 +858,10 @@ export async function runCodeMirrorTests(writeOutput) {
test.assertEqual(view.state.doc.toString(), doc);
test.assertEqual(view.state.selection.main.from, from);
test.assertEqual(view.state.selection.main.to, to);
test.assert(!view.hasFocus, "Read-only Shift must remain unfocused");
test.assert(
!view.hasFocus,
"Read-only Shift must remain unfocused",
);
} finally {
clipboard.copy = originalCopy;
clearQuickToolsModifierState();
Expand Down