fix(core): update

This commit is contained in:
2020-10-05 11:26:06 +00:00
parent e11ace6a23
commit 0d3bcab40f
9 changed files with 140 additions and 118 deletions

View File

@ -20,16 +20,12 @@ tap.test('should create a Foldable extended instance', async () => {
tap.test('should create a folded object', async () => {
let foldedObject = mySomeClass.foldToObject();
expect(foldedObject)
.property('thisis')
.to.equal('test');
expect(foldedObject).property('thisis').to.equal('test');
});
tap.test('should enfold from object', async () => {
const mySomeClass2 = SomeClass.enfoldFromObject({ thisis: 'test2' });
expect(mySomeClass2)
.property('thisis')
.to.equal('test2');
expect(mySomeClass2).property('thisis').to.equal('test2');
});
tap.start();