describe("Zotero.Feed", function() { let createFeed = Zotero.Promise.coroutine(function* (props = {}) { let feed = new Zotero.Feed({ name: props.name || 'Test ' + Zotero.randomString(), url: props.url || 'http://www.' + Zotero.randomString() + '.com', refreshInterval: props.refreshInterval, cleanupAfter: props.cleanupAfter }); yield feed.saveTx(); return feed; }); // Clean up after after tests after(function* () { let feeds = Zotero.Feeds.getAll(); yield Zotero.DB.executeTransaction(function* () { for (let i=0; i