add missing await

This commit is contained in:
Ashley Harrison
2024-09-03 14:02:27 +03:00
committed by renovate[bot]
parent aa2175822e
commit d9385d8a76
@@ -37,7 +37,7 @@ describe('Combobox', () => {
render(<Combobox options={options} onChange={onChangeHandler} value={null} />);
const input = screen.getByRole('combobox');
userEvent.click(input);
await userEvent.click(input);
const item = await screen.findByRole('option', { name: 'Option 1' });
await userEvent.click(item);