Skip to content

Commit

Permalink
test: ignore unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Sep 17, 2024
1 parent ee37a01 commit 5185e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/search-manager/data/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ export async function fetchTagsThatMatchKeyword({
/**
* Fetch single document by its id
*/
/* istanbul ignore next */
export async function fetchDocumentById({ client, indexName, id } : {
/** The Meilisearch client instance */
client: MeiliSearch;
Expand Down
1 change: 1 addition & 0 deletions src/search-manager/data/apiHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export const useTagFilterOptions = (args: {
return { ...mainQuery, data };
};

/* istanbul ignore next */
export const useGetSingleDocument = ({ client, indexName, id }: {
client?: MeiliSearch;
indexName?: string;
Expand Down

0 comments on commit 5185e7a

Please sign in to comment.