Skip to content

Commit

Permalink
fix: update useEventListener tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juliencrn committed Oct 13, 2022
1 parent 6acb132 commit 1c56f2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/useEventListener/useEventListener.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ describe('useEventListener()', () => {
expect(windowRemoveEventListenerSpy).toHaveBeenCalledWith(
eventName,
expect.any(Function),
options,
)
})

Expand All @@ -78,6 +79,7 @@ describe('useEventListener()', () => {
expect(refRemoveEventListenerSpy).toHaveBeenCalledWith(
eventName,
expect.any(Function),
options,
)
})

Expand All @@ -102,6 +104,7 @@ describe('useEventListener()', () => {
expect(docRemoveEventListenerSpy).toHaveBeenCalledWith(
eventName,
expect.any(Function),
options,
)
})

Expand Down

0 comments on commit 1c56f2a

Please sign in to comment.