Fix Quick Copy tests after 6d265f448f
This commit is contained in:
parent
97d46b79f1
commit
cd35962435
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue