Skip to content

Commit

Permalink
fix: update dev-routing tests 500 > 404
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Mar 10, 2022
1 parent de126df commit ab568fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/test/dev-routing.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ describe('Development Routing', () => {
expect(response.status).to.equal(200);
});

it('500 when loading invalid dynamic route', async () => {
it('404 when loading invalid dynamic route', async () => {
const response = await fixture.fetch('/blog/2/');
expect(response.status).to.equal(500);
expect(response.status).to.equal(404);
});
});

Expand Down

0 comments on commit ab568fb

Please sign in to comment.