0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00

[ci] format

This commit is contained in:
Martin Trapp 2024-01-08 15:24:14 +00:00 committed by astrobot-houston
parent cdb7bfa662
commit 51c4c82e46
2 changed files with 2 additions and 2 deletions

View file

@ -1187,7 +1187,7 @@ test.describe('View Transitions', () => {
expect(requests).toHaveLength(0);
});
test('view transition should also work with 404 page', async ({ page, astro }) => {
const loads = [];
page.addListener('load', (p) => {

View file

@ -372,7 +372,7 @@ export async function handleRoute({
if (status && response.status !== status && (status === 404 || status === 500)) {
response = new Response(response.body, {
status: status,
headers: response.headers
headers: response.headers,
});
}
await writeSSRResult(request, response, incomingResponse);