fix(core): update
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as smartxml from '../ts/index';
|
||||
import { expect, tap } from '@push.rocks/tapbundle';
|
||||
import * as smartxml from '../ts/index.js';
|
||||
|
||||
let testSmartxml: smartxml.SmartXml;
|
||||
let testXml = `
|
||||
@ -27,8 +27,8 @@ tap.test('should create an xml string', async () => {
|
||||
tap.test('should parse an yml file', async () => {
|
||||
const jsObject = testSmartxml.parseXmlToObject(testXml);
|
||||
console.log(jsObject);
|
||||
expect(typeof jsObject).to.equal('object');
|
||||
expect(jsObject).property('hello').property('wow').to.equal('nice');
|
||||
expect(typeof jsObject).toEqual('object');
|
||||
expect(jsObject).property('hello').property('wow').toEqual('nice');
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user