We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1057cdb commit 159567cCopy full SHA for 159567c
packages/react/src/Dialog/Dialog.test.tsx
@@ -86,7 +86,6 @@ describe('Dialog', () => {
86
})
87
88
it('does not call `onClose` when click was not originated from backdrop', async () => {
89
- const user = userEvent.setup()
90
const onClose = jest.fn()
91
92
const {getByRole} = render(<Dialog onClose={onClose}>Pay attention to me</Dialog>)
0 commit comments