fix(smartsitemap): Update CI configuration, bump dependencies, and apply small code cleanups
This commit is contained in:
@@ -10,13 +10,15 @@ tap.test('should create an instance of Smartsitemap', async () => {
|
||||
|
||||
tap.test('should create a sitemap from feed', async () => {
|
||||
const sitemapString = await testSmartsitemap.createSitemapNewsFromFeedUrl(
|
||||
'https://central.eu/feed'
|
||||
'https://coffee.link/rss/',
|
||||
);
|
||||
console.log(sitemapString);
|
||||
});
|
||||
|
||||
tap.test('should parse a sitemap', async () => {
|
||||
const result = await testSmartsitemap.parseSitemapUrl('https://www.theverge.com/sitemaps/google_news');
|
||||
const result = await testSmartsitemap.parseSitemapUrl(
|
||||
'https://www.theverge.com/sitemaps/google_news',
|
||||
);
|
||||
// console.log(result.urlset.url);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user