import { dataPluginMock } from '../../../../../../../../src/plugins/data/public/mocks' ; export const timefilterMock = dataPluginMock . createStartContract ( ) . query . timefilter . timefilter ; export const useTimefilter = jest . fn ( ( ) => { return timefilterMock ; } ) ;