import { PartialResult } from '@empathyco/x-types' ; import { createResultStub } from './results-stubs.factory' ; returns export function getPartialResultsStub ( ) { return [ { facets : [ ] , query : 'lego camion' , totalResults : 10 , results : [ createResultStub ( 'lego camion' ) ] } , { facets : [ ] , query : 'camion rojo' , totalResults : 8 , results : [ createResultStub ( 'camion rojo' ) ] } ] ; }