Skip to content

Commit

Permalink
reverted version and updated filtersearch
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Feb 15, 2024
1 parent 97c92c4 commit c6dcbe6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yext/search-ui-react",
"version": "1.5.0",
"version": "1.4.1",
"description": "A library of React Components for powering Yext Search integrations",
"author": "slapshot@yext.com",
"license": "BSD-3-Clause",
Expand Down
4 changes: 2 additions & 2 deletions tests/components/FilterSearch.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,8 @@ describe('search without section labels', () => {
const executeFilterSearch = jest
.spyOn(SearchHeadless.prototype, 'executeFilterSearch');
renderFilterSearch({ searchFields: searchFieldsProp, onDropdownInputChange: mockedOnDropdownInputChange});
userEvent.type(screen.getByRole('textbox'), 'a');
await waitFor(() => expect(mockedOnDropdownInputChange).toHaveBeenCalledTimes(1));
await userEvent.type(screen.getByRole('textbox'), 'a');
expect(mockedOnDropdownInputChange).toHaveBeenCalledTimes(1);
expect(executeFilterSearch).toHaveBeenCalledTimes(0);
})
});
Expand Down
Binary file removed yext-search-ui-react-1.5.0.tgz
Binary file not shown.

0 comments on commit c6dcbe6

Please sign in to comment.