fix(core): update

This commit is contained in:
2020-10-24 16:39:37 +00:00
parent a6adf9b15e
commit 782eda7a6f
5 changed files with 41 additions and 6 deletions

View File

@ -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();