Don't run feeds update until after schema update promise
And tweak feed scheduling in general
This commit is contained in:
parent
1372949523
commit
7c020da594
3 changed files with 56 additions and 34 deletions
|
@ -166,7 +166,7 @@ describe("Zotero.Feeds", function () {
|
|||
before(function* () {
|
||||
yield clearFeeds();
|
||||
|
||||
sinon.stub(Zotero.Feeds, 'scheduleNextFeedCheck');
|
||||
sinon.stub(Zotero.Feeds, 'scheduleNextFeedCheck').resolves();
|
||||
_updateFeed = sinon.stub(Zotero.Feed.prototype, '_updateFeed').resolves();
|
||||
let url = getTestDataUrl("feed.rss");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue