Maybe fix spurious error in noteeditor tests

This commit is contained in:
Dan Stillman 2016-08-15 02:35:26 -04:00
parent 41eb49cf7f
commit c29b7eb06c

View file

@ -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();
});