import { chartPluginMock } from '../../../../../../../src/plugins/charts/public/mocks' ; import { securityMock } from '../../../../../security/public/mocks' ; import { mockHistory } from '../react_router/state.mock' ; export const mockKibanaValues = { config : { host : 'http://localhost:3002' } , charts : chartPluginMock . createStartContract ( ) , cloud : { isCloudEnabled : false , deployment_url : 'https://cloud.elastic.co/deployments/some-id' , } , history : mockHistory , navigateToUrl : jest . fn ( ) , security : securityMock . createStart ( ) , setBreadcrumbs : jest . fn ( ) , setChromeIsVisible : jest . fn ( ) , setDocTitle : jest . fn ( ) , renderHeaderActions : jest . fn ( ) , } ; jest . mock ( '../../shared/kibana' , ( ) => ( { KibanaLogic : { values : mockKibanaValues } , } ) ) ;