fix(core): update

This commit is contained in:
2021-01-15 14:22:49 +00:00
parent ee613836d1
commit 25006901d9
4 changed files with 4 additions and 6 deletions

View File

@ -51,7 +51,7 @@ export class SmartSSR {
renderTimeMeasurement.start();
await page.goto(urlArg, {
waitUntil: 'networkidle2',
timeout: 30000
timeout: 30000,
});
let screenshotBuffer: Buffer;

View File

@ -69,7 +69,7 @@ export function serializeFunction(rootNode) {
noteForAppending.push(childNode);
}
});
while(nodeArg.firstChild) {
while (nodeArg.firstChild) {
nodeArg.removeChild(nodeArg.firstChild);
}
noteForAppending.forEach((childNode) => {