UNPKG

ts-prime

Version:

A utility library for JavaScript and Typescript.

10 lines (8 loc) 244 B
import { deepUniq } from './deepUniq'; describe('data_first', () => { test('should return difference', () => { expect( deepUniq([{ a: { b: [1, 2] } }, { a: { b: [1, 2] } }], 'hard') ).toEqual([{ a: { b: [1, 2] } }]); }); });