import { CustomIntegrationsPlugin } from './plugin' ; import { coreMock } from '../../../core/public/mocks' ; describe ( 'CustomIntegrationsPlugin' , ( ) => { beforeEach ( ( ) => { } ) ; describe ( 'setup' , ( ) => { let mockCoreSetup ; beforeEach ( ( ) => { mockCoreSetup = coreMock . createSetup ( ) ; } ) ; test ( 'wires up tutorials provider service and returns registerTutorial and addScopedTutorialContextFactory' , ( ) => { const setup = new CustomIntegrationsPlugin ( ) . setup ( mockCoreSetup ) ; expect ( setup ) . toHaveProperty ( 'getAppendCustomIntegrations' ) ; } ) ; } ) ; } ) ;