wip: unit test fixes continued

This commit is contained in:
jdalton
2023-09-21 07:45:49 -07:00
parent bd518dd906
commit a79c5c434c
14 changed files with 66 additions and 77 deletions

View File

@@ -23,12 +23,11 @@ describe('some', () => {
it('should return `true` as soon as `predicate` returns truthy', () => {
let count = 0;
assert.strictEqual(
expect(
some([null, true, null], (value) => {
count++;
return value;
}),
true,
})
);
expect(count).toBe(2);