import { CoreService } from '../../types' ; const createCoreServiceMock = ( ) : jest . Mocked < CoreService > => { return { setup : jest . fn ( ) , start : jest . fn ( ) , stop : jest . fn ( ) , } ; } ; export const styleServiceMock = createCoreServiceMock ( ) ; jest . doMock ( './styles' , ( ) => ( { StylesService : jest . fn ( ( ) => styleServiceMock ) , } ) ) ; export const momentServiceMock = createCoreServiceMock ( ) ; jest . doMock ( './moment' , ( ) => ( { MomentService : jest . fn ( ( ) => momentServiceMock ) , } ) ) ;