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

@@ -4,7 +4,7 @@ import * as lik from '../ts';
tap.test('should create a valid fastmap', async () => {
const fastmap = new lik.FastMap();
expect(fastmap).to.be.instanceOf(lik.FastMap);
expect(fastmap).toBeInstanceOf(lik.FastMap);
});
tap.test('should find an entry', async () => {
@@ -22,7 +22,7 @@ tap.test('should find an entry', async () => {
});
const result = await fastmap.find(async (itemArg)=> {return itemArg.value2 === 'heyho4'});
expect(result.value1).to.equal('heyho3');
expect(result.value1).toEqual('heyho3');
});
tap.start();