fix(core): update
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user