1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-05 15:22:09 +03:00

Migrate some tests to React Testing Library (#9584)

This commit is contained in:
Germain
2022-11-18 09:16:11 +00:00
committed by GitHub
parent ef548a4843
commit 38dbe8ed33
12 changed files with 325 additions and 527 deletions

View File

@@ -136,6 +136,7 @@ export default class SearchBox extends React.Component<IProps, IState> {
placeholder={this.state.blurred ? (blurredPlaceholder || placeholder) : placeholder}
autoComplete="off"
autoFocus={this.props.autoFocus}
data-testid="searchbox-input"
/>
{ clearButton }
</div>