diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index 55cc23101..99f7bf27b 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -705,7 +705,7 @@ export async function renderPage( componentFactory: AstroComponentFactory, props: any, children: any, - streaming: boolean, + streaming: boolean ): Promise { let iterable: AsyncIterable; if (!componentFactory.isAstroComponentFactory) { @@ -756,7 +756,7 @@ export async function renderPage( }, }); } else { - body = ''; + body = ''; let i = 0; for await (const chunk of iterable) { let html = chunk.toString(); diff --git a/packages/astro/test/streaming.test.js b/packages/astro/test/streaming.test.js index 266853787..fc7afba05 100644 --- a/packages/astro/test/streaming.test.js +++ b/packages/astro/test/streaming.test.js @@ -87,7 +87,7 @@ describe('Streaming disabled', () => { }, server: { streaming: false, - } + }, }); });