fix(build): migrate project config and tests to updated git.zone tooling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { tap, expect } from '@push.rocks/tapbundle';
|
||||
import { tap, expect } from '@git.zone/tstest/tapbundle';
|
||||
import * as lik from '../ts/index.js';
|
||||
|
||||
tap.test('should create a valid fastmap', async () => {
|
||||
@@ -24,6 +24,9 @@ tap.test('should find an entry', async () => {
|
||||
const result = await fastmap.find(async (itemArg) => {
|
||||
return itemArg.value2 === 'heyho4';
|
||||
});
|
||||
if (!result) {
|
||||
throw new Error('Expected fastmap.find() to return a matching entry');
|
||||
}
|
||||
expect(result.value1).toEqual('heyho3');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user