fix(core): update

This commit is contained in:
2020-10-25 22:11:00 +00:00
parent 7eda660b29
commit bf8536e6ca
5 changed files with 40 additions and 4 deletions

View File

@ -27,6 +27,13 @@ tap.test('should create a feed', async () => {
});
const rssFeed = feed.exportRssFeedString();
console.log(rssFeed);
const parsedFeed = await testSmartFeed.parseFeedFromString(rssFeed);
console.log(parsedFeed);
});
tap.test('should parse a Url', async () => {
const result = await testSmartFeed.parseFeedFromUrl('https://www.theverge.com/rss/index.xml');
// console.log(result);
});
tap.start();