Skip to content

Commit

Permalink
Update test for custom label
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Oct 23, 2024
1 parent 1c5c917 commit 227ad1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/SearchField/SearchField.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Search field', () => {
})

it('renders the button with a label', () => {
render(<SearchField.Button label="Search" />)
render(<SearchField.Button>Search</SearchField.Button>)

const component = screen.getByRole('button', { name: 'Search' })

Expand Down

0 comments on commit 227ad1d

Please sign in to comment.