Skip to content

Commit

Permalink
Update icon test for changed markup
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Dec 16, 2024
1 parent 6b3f866 commit ae3959c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/Alert/Alert.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Alert', () => {
const { container } = render(<Alert />)

const component = container.querySelector(':only-child')
const icon = component?.querySelector('.ams-alert__icon')
const icon = component?.querySelector('.ams-alert__severity > .ams-icon')

expect(component).toBeInTheDocument()
expect(component).toBeVisible()
Expand Down

0 comments on commit ae3959c

Please sign in to comment.