www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit cd35962435000cbfb7bcb6eae3a8348465971414
parent 97d46b79f13913740fc92888faefdff2ab66aaa7
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 19 Jul 2017 04:36:45 -0400

Fix Quick Copy tests after 6d265f448f

Diffstat:
Mtest/tests/quickCopyTest.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/tests/quickCopyTest.js b/test/tests/quickCopyTest.js @@ -2,7 +2,8 @@ describe("Zotero.QuickCopy", function() { var quickCopyPref; var prefName = "export.quickCopy.setting"; - before(function () { + before(function* () { + yield Zotero.QuickCopy.loadSiteSettings(); Zotero.Prefs.clear(prefName); quickCopyPref = Zotero.Prefs.get(prefName); quickCopyPref = JSON.stringify(Zotero.QuickCopy.unserializeSetting(quickCopyPref));