fix(build): modernize package configuration and remove smartfile dependency from filesystem operations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@push.rocks/tapbundle';
|
||||
import * as smartssr from '../dist_ts/index.js';
|
||||
import { tap } from '@git.zone/tstest/tapbundle';
|
||||
import * as smartssr from '../ts/index.js';
|
||||
|
||||
let testSSRInstance: smartssr.SmartSSR;
|
||||
|
||||
@@ -9,7 +9,7 @@ tap.test('should create a valid smartssr instance', async () => {
|
||||
});
|
||||
});
|
||||
|
||||
tap.test('should render central.eu', async (tools) => {
|
||||
tap.test('should render central.eu', async () => {
|
||||
const renderedPage = await testSSRInstance.renderPage('https://lossless.com');
|
||||
console.log(renderedPage);
|
||||
});
|
||||
@@ -23,4 +23,4 @@ tap.test('should render https://lossless.gmbh', async () => {
|
||||
console.log(renderedPage);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
Reference in New Issue
Block a user