[ci] format

This commit is contained in:
tony-sull 2022-07-01 02:32:07 +00:00 committed by fredkbot
parent 976e1f175a
commit a2b385303c
2 changed files with 3 additions and 3 deletions

View file

@ -705,7 +705,7 @@ export async function renderPage(
componentFactory: AstroComponentFactory,
props: any,
children: any,
streaming: boolean,
streaming: boolean
): Promise<Response> {
let iterable: AsyncIterable<any>;
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();

View file

@ -87,7 +87,7 @@ describe('Streaming disabled', () => {
},
server: {
streaming: false,
}
},
});
});