diff options
Diffstat (limited to 'packages/integrations/sitemap/test/staticPaths.test.js')
-rw-r--r-- | packages/integrations/sitemap/test/staticPaths.test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/integrations/sitemap/test/staticPaths.test.js b/packages/integrations/sitemap/test/staticPaths.test.js index d5d95b2d3..603af163d 100644 --- a/packages/integrations/sitemap/test/staticPaths.test.js +++ b/packages/integrations/sitemap/test/staticPaths.test.js @@ -10,6 +10,7 @@ describe('getStaticPaths support', () => { before(async () => { fixture = await loadFixture({ root: './fixtures/static/', + trailingSlash: 'always', }); await fixture.build(); @@ -33,4 +34,9 @@ describe('getStaticPaths support', () => { it('includes numerical pages', () => { expect(urls).to.include('http://example.com/123/'); }); + + it('should render the endpoint', async () => { + const page = await fixture.readFile('./it/manifest'); + expect(page).to.contain('I\'m a route in the "it" language.'); + }); }); |