fix(core): update
This commit is contained in:
parent
ee613836d1
commit
25006901d9
@ -43,4 +43,4 @@
|
||||
"browserslist": [
|
||||
"last 1 chrome versions"
|
||||
]
|
||||
}
|
||||
}
|
@ -14,9 +14,7 @@ tap.test('should start the smartssr instance', async () => {
|
||||
});
|
||||
|
||||
tap.test('should render central.eu', async (tools) => {
|
||||
await testSSRInstance.renderPage(
|
||||
'https://in.work'
|
||||
);
|
||||
await testSSRInstance.renderPage('https://in.work');
|
||||
});
|
||||
|
||||
tap.skip.test('should render lossless.com', async () => {
|
||||
|
@ -51,7 +51,7 @@ export class SmartSSR {
|
||||
renderTimeMeasurement.start();
|
||||
await page.goto(urlArg, {
|
||||
waitUntil: 'networkidle2',
|
||||
timeout: 30000
|
||||
timeout: 30000,
|
||||
});
|
||||
|
||||
let screenshotBuffer: Buffer;
|
||||
|
@ -69,7 +69,7 @@ export function serializeFunction(rootNode) {
|
||||
noteForAppending.push(childNode);
|
||||
}
|
||||
});
|
||||
while(nodeArg.firstChild) {
|
||||
while (nodeArg.firstChild) {
|
||||
nodeArg.removeChild(nodeArg.firstChild);
|
||||
}
|
||||
noteForAppending.forEach((childNode) => {
|
||||
|
Loading…
Reference in New Issue
Block a user