From d7d0b22e966aea7770a729fcddc901f8a9401db0 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 30 May 2023 17:49:22 -0400 Subject: [PATCH] Fix netlify test ordering --- .../integrations/netlify/test/static/redirects.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/integrations/netlify/test/static/redirects.test.js b/packages/integrations/netlify/test/static/redirects.test.js index f6695f15b..5e3ee6cbf 100644 --- a/packages/integrations/netlify/test/static/redirects.test.js +++ b/packages/integrations/netlify/test/static/redirects.test.js @@ -27,14 +27,14 @@ describe('SSG - Redirects', () => { it('Creates a redirects file', async () => { let redirects = await fixture.readFile('/_redirects'); - console.log(redirects) let parts = redirects.split(/\s+/); expect(parts).to.deep.equal([ - '/nope', '/', '301', - '/other', '/', '301', '/two', '/', '302', - '/team/articles/*', '/team/articles/*/index.html', '200', + '/other', '/', '301', + '/nope', '/', '301', + '/blog/*', '/team/articles/*/index.html', '301', + '/team/articles/*', '/team/articles/*/index.html', '200', ]); }); });