[ci] format
This commit is contained in:
parent
976e1f175a
commit
a2b385303c
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -87,7 +87,7 @@ describe('Streaming disabled', () => {
|
|||
},
|
||||
server: {
|
||||
streaming: false,
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue