import { main } from '../..' ; import { assertGreetings } from './test-helper' ; describe ( 'dependency injection' , ( ) => { it ( 'invokes main function' , async ( ) => { const greetings = await main ( ) ; assertGreetings ( greetings ) ; } ) ; } ) ;