(id, withExtension)
| 70 | it('should support generate multi sitemaps with generateSitemaps', async () => { |
| 71 | const ids = ['child0', 'child1', 'child2', 'child3'] |
| 72 | function fetchSitemap(id, withExtension) { |
| 73 | return next.fetch(`/gsp/sitemap/${id}${withExtension ? `.xml` : ''}`) |
| 74 | } |
| 75 | |
| 76 | // Required to have .xml extension for dynamic sitemap |
| 77 | for (const id of ids) { |