import { SearchResponse } from '@empathyco/x-adapter' ; import { getBannersStub } from './banners-stubs.factory' ; import { getFacetsStub } from './facets-stubs.factory' ; import { getPromotedsStub } from './promoteds-stubs.factory' ; import { getRedirectionsStub } from './redirections-stubs.factory' ; import { getResultsStub } from './results-stubs.factory' ; import { getTaggingResponseStub } from './tagging-response-stubs.factory' ; /**
 * Creates a  {@link @empathyco/x-adapter#SearchResponse | search response} stub.
 *
 *  returns internal export function getSearchResponseStub ( ) { return { banners : getBannersStub ( ) , facets : getFacetsStub ( ) , partialResults : [ ] , promoteds : getPromotedsStub ( ) , queryTagging : getTaggingResponseStub ( ) , redirections : getRedirectionsStub ( ) , results : getResultsStub ( ) , spellcheck : '' , totalResults : 100 } ; }