Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Made1ra committed Nov 26, 2024
1 parent ddb4887 commit 0d98243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/design-system/components/Alert/Alert.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Alert Component', () => {
const handleClose = vi.fn()
render(<Alert onClose={handleClose} />)

const closeButton = screen.getByRole('button', { name: /.*close.*/i })
const closeButton = screen.getByRole('button', { name: 'Close alert' })
expect(closeButton).toBeInTheDocument()
})

Expand Down

0 comments on commit 0d98243

Please sign in to comment.