Fix ordering again

This commit is contained in:
Matthew Phillips 2023-05-30 18:04:21 -04:00
parent fd52bd6bb1
commit a39eb51d4c

View file

@ -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',