Skip to content

Commit

Permalink
Update packages/react/src/Banner/Banner.test.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Kate Higa <16447748+khiga8@users.noreply.github.com>
  • Loading branch information
joshblack and khiga8 authored Apr 30, 2024
1 parent ff471fa commit 7e13350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/Banner/Banner.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Banner', () => {
it('should support the `aria-label` prop to override the default label for the landmark', () => {
render(<Banner aria-label="Test" title="test" variant="warning" />)
expect(screen.getByRole('region')).toHaveAttribute('aria-label', 'test')
});
})

it('should default the title to a h2', () => {
render(<Banner title="test" />)
Expand Down

0 comments on commit 7e13350

Please sign in to comment.