import { mockDependencies , MockRouter } from '../../__mocks__' ; import { registerAppSearchRoutes } from './' ; describe ( 'registerAppSearchRoutes' , ( ) => { it ( 'runs without errors' , ( ) => { const mockRouter = new MockRouter ( { } as any ) ; registerAppSearchRoutes ( { ... mockDependencies , router : mockRouter . router } ) ; } ) ; } ) ;