@@ -57,7 +57,7 @@ describe('RouterExecutionContext', () => {
5757 it ( 'should call "exchangeKeysForValues" with expected arguments' , ( done ) => {
5858 const keys = Object . keys ( metadata ) ;
5959
60- contextCreator . create ( { foo : 'bar' } , callback as any , '' , 0 ) ;
60+ contextCreator . create ( { foo : 'bar' } , callback as any , '' , '' , 0 ) ;
6161 expect ( exchangeKeysForValuesSpy . called ) . to . be . true ;
6262 expect (
6363 exchangeKeysForValuesSpy . calledWith ( keys , metadata ) ,
@@ -70,7 +70,7 @@ describe('RouterExecutionContext', () => {
7070
7171 beforeEach ( ( ) => {
7272 instance = { foo : 'bar' } ;
73- proxyContext = contextCreator . create ( instance , callback as any , '' , 0 ) ;
73+ proxyContext = contextCreator . create ( instance , callback as any , '' , '' , 0 ) ;
7474 } ) ;
7575 it ( 'should be a function' , ( ) => {
7676 expect ( proxyContext ) . to . be . a ( 'function' ) ;
@@ -109,7 +109,7 @@ describe('RouterExecutionContext', () => {
109109 }
110110 it ( 'should returns ROUTE_ARGS_METADATA callback metadata' , ( ) => {
111111 const instance = new TestController ( ) ;
112- const metadata = contextCreator . reflectCallbackMetadata ( instance , instance . callback ) ;
112+ const metadata = contextCreator . reflectCallbackMetadata ( instance , ' callback' ) ;
113113 const expectedMetadata = {
114114 [ `${ RouteParamtypes . REQUEST } :0` ] : {
115115 index : 0 ,
0 commit comments