From 51c4c82e46d3c4e9b39b026ab6b0ee682a77d136 Mon Sep 17 00:00:00 2001 From: Martin Trapp Date: Mon, 8 Jan 2024 15:24:14 +0000 Subject: [PATCH] [ci] format --- packages/astro/e2e/view-transitions.test.js | 2 +- packages/astro/src/vite-plugin-astro-server/route.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/e2e/view-transitions.test.js b/packages/astro/e2e/view-transitions.test.js index 271f17e86b..6b59671ed5 100644 --- a/packages/astro/e2e/view-transitions.test.js +++ b/packages/astro/e2e/view-transitions.test.js @@ -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) => { diff --git a/packages/astro/src/vite-plugin-astro-server/route.ts b/packages/astro/src/vite-plugin-astro-server/route.ts index e249f3f975..679fa6505b 100644 --- a/packages/astro/src/vite-plugin-astro-server/route.ts +++ b/packages/astro/src/vite-plugin-astro-server/route.ts @@ -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);