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