fix(editor): Task 2 round 3, lint, locals, stale comment

This commit is contained in:
bchanot committed 2026-11-13 19:51:03 +01:00
1 parent 20905adf72
commit af300de04c
4 files changed
+50 -52

No files matched your search

@@ -90,9 +90,6 @@ async function open(page: Page, seedShape = shape) {
}
const panel = (page: Page) => page.getByTestId('editor-citations-panel')
/** The sheet's own dialog (the finding dialog under it is the other one). */
const sheet = (page: Page) =>
page.locator('dialog[open]').filter({ has: panel(page) })
const heads = (page: Page) =>
panel(page).locator('button[aria-controls][id$="-header"]')
const trigger = (page: Page) => page.locator('[data-citations-trigger]')