import { MlPluginSetup , MlPluginStart } from './plugin' ; import { sharePluginMock } from '../../../../src/plugins/share/public/mocks' ; const createSetupContract = ( ) : jest . Mocked < MlPluginSetup > => { return { locator : sharePluginMock . createLocator ( ) , } ; } ; const createStartContract = ( ) : jest . Mocked < MlPluginStart > => { return { locator : sharePluginMock . createLocator ( ) , } ; } ; export const mlPluginMock = { createSetupContract , createStartContract , } ;