Skip to content

Commit

Permalink
remove redundant assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-bagwell committed Nov 5, 2023
1 parent 9a63a2b commit 5f77ff9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/__tests__/hooks/useOnClickOutside.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@ describe('useOnClickOutside', () => {

outsideElement.dispatchEvent(event);
expect(handler).toHaveBeenCalledTimes(1);
expect(handler).not.toHaveBeenCalledTimes(2);
});
});

0 comments on commit 5f77ff9

Please sign in to comment.