import { inject , Done } from 'ts-express-decorators/testing' ; import { InjectorService } from 'ts-express-decorators' ; export function getInjectionService ( ctx ) { return new Promise ( ( resolve ) => { inject ( [ InjectorService , Done ] , ( injectionService ) => { resolve ( injectionService ) ; } ) ( ctx ) ; } ) ; }