fix(editor): type the reference dialog lookup of the cascade test

This commit is contained in:
bchanot committed 2026-11-14 19:05:47 +01:00
1 parent 55608b2200
commit 254ad2b4aa
1 file changed
+3 -1
@@ -997,7 +997,9 @@ describe('the citations sheet over a dirty edit form (final review rev 4, item 1
const question = 'Abandonner les modifications ?'
const dialogs = () => [...document.querySelectorAll('dialog[open]')]
const refForm = () =>
dialogs().find((d) => d.querySelector('#reference-form-citation'))
dialogs().find((d) => d.querySelector('#reference-form-citation')) as
| HTMLElement
| undefined
let api: NavigationStub
beforeEach(() => {
api = new NavigationStub()