mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
wip: code formatting nits continued
This commit is contained in:
9
test/compact.spec.js
Normal file
9
test/compact.spec.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { falsey } from './utils';
|
||||
import compact from '../src/compact';
|
||||
|
||||
describe('compact', () => {
|
||||
it('should filter falsey values', () => {
|
||||
const array = ['0', '1', '2'];
|
||||
expect(compact(falsey.concat(array))).toEqual(array);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user