Unit Testing ClearRefinement React InstantSearch Component
TLDR alex asked for a guide on unit testing the ClearRefinement React InstantSearch component. Jason suggested they post their question in the Algolia instantsearch Github repo, as the testing method for Algolia will work with typesense-instantsearch-adapter.
Aug 29, 2022 (16 months ago)
alex
04:51 PMAbout the unit test to fully coverage on ClearRefinement React InstantSearch component via react.js, do you have a guide on doing unit test for typesense/algolia connector-for-typesense for the component above or similar?
I found this but wanted to check on how to do it for ClearRefinement
reference here : https://github.com/algolia/react-instantsearch/issues/1503
Jason
04:53 PMIn any case, this is more related to instantsearch than Typesense. The typesense adapter works at a much lower level
So I’d recommend posting this particular question in their Github repo, as any method for unit testing that works with Algolia instantsearch will also work with typesense-instantsearch-adapter
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Query on Menu RefinementList and Usage of Typesense with React-InstantSearch-Hooks
Dipankar wanted to refine menus using `react-instantsearch-dom` and inquired on Typesense's compatibility with `react-instantsearch-hooks`. Jason recommended using `connectCurrentRefinements` and confirmed Typesense's compatibility.
Typesense Sorting Query and Bug Report
michtio is new to Typesense and is querying sorting implementation. Jason shares resources and suggests use of specific adapters. However, michtio shares a bug found when applying a filter on Typesense. Jason asks for a GitHub issue to be opened for the bug.
Implementing State Export Feature Using Typesense InstantSearch.js on Node.js Backend
Kyle needed help passing search state to backend for implementing an "Export" feature, while using Typesense InstantSearch. Jason provided multiple solutions including advice on using Typesense InstantSearch adapter. The issue was resolved after some iteration.