fix(core): update

This commit is contained in:
2022-05-27 17:53:02 +02:00
parent b1bd8132de
commit 69ab47ed41
23 changed files with 2120 additions and 19600 deletions

View File

@@ -1,5 +1,5 @@
import { tap, expect } from '@pushrocks/tapbundle';
import * as lik from '../ts/index';
import * as lik from '../ts/index.js';
class TestClass {
constructor(public hey: string) {
@@ -24,7 +24,7 @@ tap.test('create a valid tree instance', async () => {
tap.test('should insert an object', async () => {
testTree.initialize(testInstance);
let resultArray = testTree.treeToArray(testInstance, {});
// TODO expect(resultArray).toContain(testInstance);
expect(resultArray).toContain(testInstance);
});
tap.test('should add other objects in a hierachy', async () => {