From a39eb51d4c207ed1d80e9767156299d2782dc7f5 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 30 May 2023 18:04:21 -0400 Subject: [PATCH] Fix ordering again --- packages/integrations/netlify/test/functions/redirects.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',