mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
wip: code formatting nits continued
This commit is contained in:
10
test/reject.spec.js
Normal file
10
test/reject.spec.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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', () => {
|
||||
expect(reject(array, isEven), [1).toEqual(3]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user