Maybe fix spurious error in noteeditor tests
This commit is contained in:
parent
41eb49cf7f
commit
c29b7eb06c
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ describe("Note Editor", function () {
|
|||
zp = win.ZoteroPane;
|
||||
});
|
||||
|
||||
beforeEach(function* () {
|
||||
// Avoid "this._editor is undefined" error between tests
|
||||
yield Zotero.Promise.delay(1);
|
||||
});
|
||||
|
||||
after(function () {
|
||||
win.close();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue