mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
import pullAll from '../src/pullAll';
|
|
|
|
describe('pullAll', () => {
|
|
it('should work with the same value for `array` and `values`', () => {
|
|
const array = [{ a: 1 }, { b: 2 }];
|
|
const actual = pullAll(array, array);
|
|
|
|
expect(actual).toEqual([]);
|
|
});
|
|
});
|