mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import assert from 'node:assert';
|
|
import pullAll from '../src/pullAll';
|
|
|
|
describe('pullAll', () => {
|
|
it('should work with the same value for `array` and `values`', () => {
|
|
const array = [{ a: 1 }, { b: 2 }],
|
|
actual = pullAll(array, array);
|
|
|
|
assert.deepStrictEqual(actual, []);
|
|
});
|
|
});
|