1 import diff from './diff';
3 describe('diff()', () => {
4 it('finds all values that are present in a given first array but not present in a given second array', () => {
5 const output = diff([1, null, 'a', true], [1, undefined, 'a', false]);
7 const expected = [null, true];
9 expect(output).toEqual(expected);