fix(core): update

This commit is contained in:
2020-08-06 15:17:01 +00:00
parent d6ba1bbed7
commit 9991e234ce
8 changed files with 52 additions and 39 deletions

View File

@ -5,7 +5,7 @@ let testSSRInstance: smartssr.SmartSSR;
tap.test('should create a valid smartssr instance', async () => {
testSSRInstance = new smartssr.SmartSSR({
debug: true
debug: true,
});
});
@ -13,8 +13,10 @@ tap.test('should start the smartssr instance', async () => {
await testSSRInstance.start();
});
tap.test('should render central.eu', async tools => {
await testSSRInstance.renderPage('https://central.eu/article/5e76873b9cf69b7bf6bc78bc/Introducing%3A%20central.eu');
tap.test('should render central.eu', async (tools) => {
await testSSRInstance.renderPage(
'https://central.eu/article/5e76873b9cf69b7bf6bc78bc/Introducing%3A%20central.eu'
);
});
tap.skip.test('should render lossless.com', async () => {