i18n: Upgrade translations from crowdin (61e08dd5). (pass-desktop)
[ProtonMail-WebClient.git] / packages / utils / diff.test.ts
blob0fda3da7c12abb9db18e91e21d08a69761f54d29
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);
10     });
11 });