Skip to content

Commit

Permalink
Skip testing second argument of MutationCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 4, 2023
1 parent cc74f9a commit 8d7c710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/useMutationObserver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ describe('useMutationObserver()', () => {
expect(listener).toHaveBeenCalledTimes(1);
expect(listener).toHaveBeenCalledWith(
[expect.any(MutationRecord)],
expect.any(MutationObserver),
// See https://github.com/capricorn86/happy-dom/issues/1113
// expect.any(MutationObserver),
);
});
});

0 comments on commit 8d7c710

Please sign in to comment.