fix(editor): type the reference dialog lookup of the cascade test
This commit is contained in:
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 question = 'Abandonner les modifications ?'
|
||||||
const dialogs = () => [...document.querySelectorAll('dialog[open]')]
|
const dialogs = () => [...document.querySelectorAll('dialog[open]')]
|
||||||
const refForm = () =>
|
const refForm = () =>
|
||||||
dialogs().find((d) => d.querySelector('#reference-form-citation'))
|
dialogs().find((d) => d.querySelector('#reference-form-citation')) as
|
||||||
|
| HTMLElement
|
||||||
|
| undefined
|
||||||
let api: NavigationStub
|
let api: NavigationStub
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
api = new NavigationStub()
|
api = new NavigationStub()
|
||||||
|
|||||||
Reference in new issue
Block a user