fix(smartsitemap): Update CI configuration, bump dependencies, and apply small code cleanups

This commit is contained in:
2025-11-19 21:03:37 +00:00
parent 74c73e05f2
commit fe7e95d57f
15 changed files with 9246 additions and 4536 deletions

View File

@@ -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);
});