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