diff options
Diffstat (limited to 'packages/integrations/sitemap/test/staticPaths.test.js')
-rw-r--r-- | packages/integrations/sitemap/test/staticPaths.test.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/integrations/sitemap/test/staticPaths.test.js b/packages/integrations/sitemap/test/staticPaths.test.js index d74980b9e..b4463c0d2 100644 --- a/packages/integrations/sitemap/test/staticPaths.test.js +++ b/packages/integrations/sitemap/test/staticPaths.test.js @@ -20,24 +20,24 @@ describe('getStaticPaths support', () => { }); it('requires zero config for getStaticPaths', async () => { - assert.strictEqual(urls.includes('http://example.com/one/'),true); - assert.strictEqual(urls.includes('http://example.com/two/'),true) + assert.strictEqual(urls.includes('http://example.com/one/'), true); + assert.strictEqual(urls.includes('http://example.com/two/'), true); }); it('does not include 404 pages', () => { - assert.strictEqual(urls.includes('http://example.com/de/404/'),false); + assert.strictEqual(urls.includes('http://example.com/de/404/'), false); }); it('does not include nested 404 pages', () => { - assert.strictEqual(urls.includes('http://example.com/de/404/'),false); + assert.strictEqual(urls.includes('http://example.com/de/404/'), false); }); it('includes numerical pages', () => { - assert.strictEqual(urls.includes('http://example.com/123/'),true); + assert.strictEqual(urls.includes('http://example.com/123/'), true); }); it('should render the endpoint', async () => { const page = await fixture.readFile('./it/manifest'); - assert.strictEqual(page.includes('I\'m a route in the "it" language.'),true); + assert.strictEqual(page.includes('I\'m a route in the "it" language.'), true); }); }); |