UNPKG

ts-prime

Version:

A utility library for JavaScript and Typescript.

7 lines (6 loc) 251 B
import { deepUniq } from './deepUniq'; describe('data_first', function () { test('should return difference', function () { expect(deepUniq([{ a: { b: [1, 2] } }, { a: { b: [1, 2] } }], 'hard')).toEqual([{ a: { b: [1, 2] } }]); }); });