Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Update SearchField.test.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn authored Feb 8, 2024
1 parent a2df2a5 commit af50281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('Snapshots', () => {

it('renders a search field with an aria-label using prop', () => {
const searchField = enzymeIntl.shallowWithIntl(<SearchField inputAttributes={{ ariaLabel: 'Search Field' }} />).dive();
expect(searchField.find('input').prop('aria-label')).toEqual('Terra.searchField.search');
expect(searchField.find('input').prop('aria-label')).toEqual('');
expect(searchField).toMatchSnapshot();
});

Expand Down

0 comments on commit af50281

Please sign in to comment.