Allan Amaral

Results 1 comments of Allan Amaral

Like @omidmogasemi said, adding this await for user.type did the trick. No need of act(): ``` const user = userEvent.setup(); const input = screen.getByTestId('input-search'); user.click(input); await user.type(input, 'abc'); expect(input).toHaveValue('abc'); ```