mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
wip: migrate to bun
This commit is contained in:
11
test/reject.spec.ts
Normal file
11
test/reject.spec.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import assert from 'node:assert';
|
||||
import { isEven } from './utils';
|
||||
import reject from '../src/reject';
|
||||
|
||||
describe('reject', () => {
|
||||
const array = [1, 2, 3];
|
||||
|
||||
it('should return elements the `predicate` returns falsey for', () => {
|
||||
assert.deepStrictEqual(reject(array, isEven), [1, 3]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user