Fix stateful retractions tests

Closes #1824
This commit is contained in:
Dan Stillman 2020-05-27 08:44:25 -04:00
parent f43df90225
commit 70b361ed8b

View file

@ -11,6 +11,8 @@ describe("Retractions", function() {
win = await loadZoteroPane();
zp = win.ZoteroPane;
await Zotero.Retractions.updateFromServer();
// Remove debouncing on checkQueuedItems()
checkQueueItemsStub = sinon.stub(Zotero.Retractions, 'checkQueuedItems').callsFake(() => {
return Zotero.Retractions._checkQueuedItemsInternal();