fix(core): update

This commit is contained in:
2023-03-30 11:02:15 +02:00
parent 73e5132f2e
commit a49c8e7aa7
5 changed files with 4685 additions and 27 deletions

View File

@ -1,10 +1,11 @@
import log from 'why-is-node-running';
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
import * as smartntml from '../ts/index.js';
let testSmartntmlInstance: smartntml.Smartntml;
tap.test('first test', async () => {
testSmartntmlInstance = await smartntml.Smartntml.createAndInit();
testSmartntmlInstance = await smartntml.Smartntml.create();
});
tap.test('should render a string', async () => {
@ -17,4 +18,9 @@ tap.test('should render a string', async () => {
console.log(stringResult);
});
tap.test('should log', async () => {
log();
setTimeout(()=> process.exit(0), 0);
})
tap.start();