fix(test): Fix test configuration and import path in test suite
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@push.rocks/tapbundle';
|
||||
import * as smartssr from '../ts/index.js';
|
||||
import * as smartssr from '../dist_ts/index.js';
|
||||
|
||||
let testSSRInstance: smartssr.SmartSSR;
|
||||
|
||||
@@ -10,7 +10,8 @@ tap.test('should create a valid smartssr instance', async () => {
|
||||
});
|
||||
|
||||
tap.test('should render central.eu', async (tools) => {
|
||||
await testSSRInstance.renderPage('https://lossless.com');
|
||||
const renderedPage = await testSSRInstance.renderPage('https://lossless.com');
|
||||
console.log(renderedPage);
|
||||
});
|
||||
|
||||
tap.test('should render lossless.com', async () => {
|
||||
|
Reference in New Issue
Block a user