diff --git a/packages/integrations/netlify/test/functions/redirects.test.js b/packages/integrations/netlify/test/functions/redirects.test.js index 634843553646..198534ad4836 100644 --- a/packages/integrations/netlify/test/functions/redirects.test.js +++ b/packages/integrations/netlify/test/functions/redirects.test.js @@ -28,11 +28,11 @@ describe('SSG - Redirects', () => { let redirects = await fixture.readFile('/_redirects'); let parts = redirects.split(/\s+/); expect(parts).to.deep.equal([ + '/other', '/', '301', // This uses the dynamic Astro.redirect, so we don't know that it's a redirect // until runtime. This is correct! '/nope', '/.netlify/functions/entry', '200', '/', '/.netlify/functions/entry', '200', - '/other', '/', '301', // A real route '/team/articles/*', '/.netlify/functions/entry', '200',