diff --git a/src/search-manager/data/api.ts b/src/search-manager/data/api.ts index 904cef942f..2f5de76d39 100644 --- a/src/search-manager/data/api.ts +++ b/src/search-manager/data/api.ts @@ -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; diff --git a/src/search-manager/data/apiHooks.ts b/src/search-manager/data/apiHooks.ts index b02c64b9d0..c9fd79e83f 100644 --- a/src/search-manager/data/apiHooks.ts +++ b/src/search-manager/data/apiHooks.ts @@ -242,6 +242,7 @@ export const useTagFilterOptions = (args: { return { ...mainQuery, data }; }; +/* istanbul ignore next */ export const useGetSingleDocument = ({ client, indexName, id }: { client?: MeiliSearch; indexName?: string;