Fix pref setting in syncEventListener tests
Prefs are reset after every test
This commit is contained in:
parent
9204e18ee3
commit
e8b19934e2
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ describe("Zotero.Sync.EventListeners", function () {
|
|||
assert.ok(originalTimeout);
|
||||
// Set timeout to 1ms
|
||||
Zotero.Sync.EventListeners.AutoSyncListener._editTimeout = 0.001;
|
||||
});
|
||||
|
||||
beforeEach(function () {
|
||||
Zotero.Prefs.set('sync.autoSync', true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue