Skip to content

Commit

Permalink
1 act error removed from FilterInput test
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Sep 9, 2022
1 parent 71459a6 commit 6750dd0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jest.mock('lodash/debounce', () => ({
test('Render a FilterInput', async () => {
const onChangeHandler = jest.fn();
render(<FilterInput onChangeHandler={onChangeHandler} />);
expect(await screen.findByRole('textbox')).toBeInTheDocument();

expect(onChangeHandler).toBeCalledTimes(0);
userEvent.type(screen.getByRole('textbox'), 'test');
Expand Down

0 comments on commit 6750dd0

Please sign in to comment.