Refactor ProgressWindow translation messages show for feed items
This commit is contained in:
parent
e206b0af5e
commit
9e88969f3d
5 changed files with 148 additions and 91 deletions
|
@ -113,7 +113,8 @@ describe("Zotero.Feeds", function () {
|
|||
|
||||
yield Zotero.Feeds.scheduleNextFeedCheck();
|
||||
|
||||
assert.equal(Zotero.Promise.delay.args[0][0], 1000*60*60);
|
||||
// Allow a propagation delay of 5000ms
|
||||
assert.isTrue(Zotero.Promise.delay.args[0][0] - 1000*60*60 <= 5000);
|
||||
|
||||
Zotero.Feeds.scheduleNextFeedCheck.restore();
|
||||
Zotero.Promise.delay.restore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue