@ external ( "api" , "identity" ) declare function identity ( input ) ; describe ( "a module with overridden imports" , ( ) => { test ( "the thing" , ( ) => { expect ( identity ( 42 ) ) . toBe ( 42 , "The instantiated function import should return 42." ) ; } ) ; } ) ;