fix(core): update
This commit is contained in:
		| @@ -13,13 +13,13 @@ tap.test('should start the smartssr instance', async () => { | |||||||
|   await testSSRInstance.start(); |   await testSSRInstance.start(); | ||||||
| }); | }); | ||||||
|  |  | ||||||
| tap.skip.test('should render central.eu', async (tools) => { | tap.test('should render central.eu', async (tools) => { | ||||||
|   await testSSRInstance.renderPage( |   await testSSRInstance.renderPage( | ||||||
|     'https://central.eu/article/5e76873b9cf69b7bf6bc78bc/Introducing%3A%20central.eu' |     'https://in.work' | ||||||
|   ); |   ); | ||||||
| }); | }); | ||||||
|  |  | ||||||
| tap.test('should render lossless.com', async () => { | tap.skip.test('should render lossless.com', async () => { | ||||||
|   await testSSRInstance.renderPage('https://lossless.com'); |   await testSSRInstance.renderPage('https://lossless.com'); | ||||||
| }); | }); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -69,6 +69,9 @@ export function serializeFunction(rootNode) { | |||||||
|           noteForAppending.push(childNode); |           noteForAppending.push(childNode); | ||||||
|         } |         } | ||||||
|       }); |       }); | ||||||
|  |       while(nodeArg.firstChild) { | ||||||
|  |         nodeArg.removeChild(nodeArg.firstChild); | ||||||
|  |       } | ||||||
|       noteForAppending.forEach((childNode) => { |       noteForAppending.forEach((childNode) => { | ||||||
|         nodeArg.append(childNode); |         nodeArg.append(childNode); | ||||||
|       }); |       }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user