chore: remove rendudant expect

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-04-05 10:27:32 +02:00
parent f512554910
commit c9201ca186
@@ -214,9 +214,6 @@ describe('SearchBar', () => {
jest.advanceTimersByTime(debounceTime);
});
expect(textbox).toHaveValue(value);
await waitFor(() => {
expect(textbox).toHaveValue(value);
});
expect(query).toHaveBeenLastCalledWith(
expect.objectContaining({ term: value }),