fix(core): update
This commit is contained in:
16
test/test.ts
16
test/test.ts
@ -1,8 +1,20 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as smartxml from '../ts/index';
|
||||
|
||||
tap.test('first test', async () => {
|
||||
console.log(smartxml.standardExport);
|
||||
let testSmartxml: smartxml.SmartXml;
|
||||
|
||||
tap.test('should create ', async () => {
|
||||
testSmartxml = new smartxml.SmartXml();
|
||||
});
|
||||
|
||||
tap.test('should create an xml string', async () => {
|
||||
const xmlResult = testSmartxml.createXmlFromObject({
|
||||
hello: {
|
||||
wow: 'test'
|
||||
}
|
||||
});
|
||||
console.log(xmlResult);
|
||||
});
|
||||
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user