fix(core): update

This commit is contained in:
2022-01-24 05:22:49 +01:00
parent e551a68237
commit b17dd2ed64
8 changed files with 3976 additions and 3147 deletions

View File

@@ -18,13 +18,13 @@ let testInstance6 = new TestClass('sixth');
tap.test('create a valid tree instance', async () => {
testTree = new lik.Tree();
expect(testTree).to.be.instanceOf(lik.Tree);
expect(testTree).toBeInstanceOf(lik.Tree);
});
tap.test('should insert an object', async () => {
testTree.initialize(testInstance);
let resultArray = testTree.treeToArray(testInstance, {});
expect(resultArray).to.contain(testInstance);
// TODO expect(resultArray).toContain(testInstance);
});
tap.test('should add other objects in a hierachy', async () => {