@@ -287,7 +287,7 @@ describe('getReportPreviewAction', () => {
287287 } as unknown as Transaction ;
288288
289289 const { result : isReportArchived } = renderHook ( ( ) => useReportIsArchived ( report ?. parentReportID ) ) ;
290- expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , undefined , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . PAY ) ;
290+ expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . PAY ) ;
291291 } ) ;
292292
293293 it ( 'getReportPreviewAction should return VIEW action for zero value invoice' , async ( ) => {
@@ -332,7 +332,7 @@ describe('getReportPreviewAction', () => {
332332
333333 const { result : isReportArchived } = renderHook ( ( ) => useReportIsArchived ( report . parentReportID ) ) ;
334334
335- expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , undefined , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . VIEW ) ;
335+ expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . VIEW ) ;
336336 } ) ;
337337
338338 it ( 'canPay should return false for archived invoice' , async ( ) => {
@@ -364,7 +364,7 @@ describe('getReportPreviewAction', () => {
364364 reportID : `${ REPORT_ID } ` ,
365365 } as unknown as Transaction ;
366366 const { result : isReportArchived } = renderHook ( ( ) => useReportIsArchived ( report ?. parentReportID ) ) ;
367- expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , undefined , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . PAY ) ;
367+ expect ( getReportPreviewAction ( VIOLATIONS , report , policy , [ transaction ] , isReportArchived . current , invoiceReceiverPolicy ) ) . toBe ( CONST . REPORT . REPORT_PREVIEW_ACTIONS . PAY ) ;
368368 } ) ;
369369
370370 it ( 'getReportPreviewAction should return VIEW action for invoice when the chat report is archived' , async ( ) => {
0 commit comments