commit c29b7eb06c19d27029bfde95457827f47c877d22 parent 41eb49cf7f98dfc4e37ccae5c8364c1b9835ec7e Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 15 Aug 2016 02:35:26 -0400 Maybe fix spurious error in noteeditor tests Diffstat:
| M | test/tests/noteeditorTest.js | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/tests/noteeditorTest.js b/test/tests/noteeditorTest.js @@ -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(); });