Skip to content

Commit a483d00

Browse files
committed
chore: no need to reset props
1 parent c018569 commit a483d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

__tests__/AutocompleteInput.spec.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ describe('<AutocompleteInput />', () => {
4343
});
4444

4545
it('should apply default render list function', () => {
46-
render(<Autocomplete data={ITEMS} renderResultList={undefined} />);
46+
render(<Autocomplete data={ITEMS} />);
47+
4748
const suggestions = screen.getAllByRole('text');
4849
suggestions.forEach((suggestion, index) => {
4950
expect(suggestion).toHaveTextContent(ITEMS[index]);

0 commit comments

Comments
 (0)