Skip to content

Commit

Permalink
test(Dialog): remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca committed Sep 19, 2024
1 parent 1057cdb commit 159567c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/Dialog/Dialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ describe('Dialog', () => {
})

it('does not call `onClose` when click was not originated from backdrop', async () => {
const user = userEvent.setup()
const onClose = jest.fn()

const {getByRole} = render(<Dialog onClose={onClose}>Pay attention to me</Dialog>)
Expand Down

0 comments on commit 159567c

Please sign in to comment.