From 711c89202ab4418ef062bf0fdf216e7476c61d88 Mon Sep 17 00:00:00 2001 From: umaranis Date: Tue, 7 May 2024 23:31:09 +1000 Subject: [PATCH] minor: fix formatting issues --- .../e2e/CopyAndPaste/html/ListsHTMLCopyAndPaste.spec.mjs | 5 ++--- .../CopyAndPaste/html/TextFormatHTMLCopyAndPaste.spec.mjs | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/demos/playground/src/__tests__/e2e/CopyAndPaste/html/ListsHTMLCopyAndPaste.spec.mjs b/demos/playground/src/__tests__/e2e/CopyAndPaste/html/ListsHTMLCopyAndPaste.spec.mjs index 33bf100..164bb55 100644 --- a/demos/playground/src/__tests__/e2e/CopyAndPaste/html/ListsHTMLCopyAndPaste.spec.mjs +++ b/demos/playground/src/__tests__/e2e/CopyAndPaste/html/ListsHTMLCopyAndPaste.spec.mjs @@ -322,9 +322,8 @@ test.describe('HTML Lists CopyAndPaste', () => { await focusEditor(page); // Ensure we preserve checked status. - clipboard[ - 'text/html' - ] = ``; + clipboard['text/html'] = + ``; await pasteFromClipboard(page, clipboard); diff --git a/demos/playground/src/__tests__/e2e/CopyAndPaste/html/TextFormatHTMLCopyAndPaste.spec.mjs b/demos/playground/src/__tests__/e2e/CopyAndPaste/html/TextFormatHTMLCopyAndPaste.spec.mjs index a53b714..7292b9d 100644 --- a/demos/playground/src/__tests__/e2e/CopyAndPaste/html/TextFormatHTMLCopyAndPaste.spec.mjs +++ b/demos/playground/src/__tests__/e2e/CopyAndPaste/html/TextFormatHTMLCopyAndPaste.spec.mjs @@ -129,9 +129,8 @@ test.describe('HTML CopyAndPaste', () => { await focusEditor(page); // These can sometimes be put onto the clipboard wrapped in a paragraph element - clipboard[ - 'text/html' - ] = `

My document

`; + clipboard['text/html'] = + `

My document

`; await pasteFromClipboard(page, clipboard);