mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
wip: unit test fixes continued
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user