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