From 20d1bfd73fc06afa2527948537703e61839584ac Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 30 Mar 2024 19:30:32 -0700 Subject: [PATCH] remove redundant(?) toBeFocused check --- packages/lexical-playground/__tests__/utils/index.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/lexical-playground/__tests__/utils/index.mjs b/packages/lexical-playground/__tests__/utils/index.mjs index 2560f46a75c..2f984c13920 100644 --- a/packages/lexical-playground/__tests__/utils/index.mjs +++ b/packages/lexical-playground/__tests__/utils/index.mjs @@ -481,7 +481,6 @@ export async function sleepInsertImage(count = 1) { export async function focusEditor(page, parentSelector = '.editor-shell') { const locator = getEditorElement(page, parentSelector); await locator.focus(); - await expect(locator).toBeFocused(); } export async function getHTML(page, selector = 'div[contenteditable="true"]') {