Skip to content

Commit

Permalink
fix: missing modification in a array diff test
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Feb 20, 2024
1 parent e494657 commit 68611e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/comparaison.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ describe('getListDiff()', () => {
type: 'list',
});

const diffResult = getListDiff(before, after);
const diffResult = getListDiff(before, after, {
referenceProperty: 'id',
});

// Our own wrapper around the library function should fix those
expect(diffResult).toStrictEqual({
Expand Down

0 comments on commit 68611e1

Please sign in to comment.