fix(core): update
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user