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 3, 2023
1 parent ac46f40 commit b6e5401
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 @@ -47,7 +47,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 b6e5401

Please sign in to comment.