Fix ordering again
This commit is contained in:
parent
fd52bd6bb1
commit
a39eb51d4c
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue