Fix note editor tests
This commit is contained in:
parent
232ffba2ab
commit
5266734ac9
5 changed files with 22 additions and 10 deletions
|
@ -20,7 +20,7 @@ describe("Note Editor", function () {
|
|||
noteEditor = win.document.getElementById('zotero-note-editor');
|
||||
}
|
||||
return new Zotero.Promise((resolve, reject) => {
|
||||
noteEditor.noteField.onInit(() => resolve(noteEditor));
|
||||
noteEditor.onInit(() => resolve(noteEditor));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue