Add tests for parsing of empty queries and remove redundant checks
This commit started out as a fix for a typecheck error in TypeScript 4.9.3 in `search-filter.js` that led to a discovery of missing tests for handling of empty inputs and redundant checks for empty inputs in the implementation. Add tests for empty queries and clean up the implementation.
Showing
Please register or sign in to comment