@@ -7855,21 +7855,12 @@ describe('OptionsListUtils', () => {
78557855 [ iouReportID ] : [ iouAction ] ,
78567856 } ;
78577857
7858- const results = getValidOptions (
7859- { reports : [ inputOption ] , personalDetails : [ ] } ,
7860- allPolicies ,
7861- { } ,
7862- loginList ,
7863- CURRENT_USER_ACCOUNT_ID ,
7864- CURRENT_USER_EMAIL ,
7865- undefined ,
7866- {
7867- includeRecentReports : true ,
7868- includeMultipleParticipantReports : true ,
7869- action : CONST . IOU . ACTION . CREATE ,
7870- sortedActions,
7871- } ,
7872- ) ;
7858+ const results = getValidOptions ( { reports : [ inputOption ] , personalDetails : [ ] } , allPolicies , { } , loginList , CURRENT_USER_ACCOUNT_ID , CURRENT_USER_EMAIL , undefined , {
7859+ includeRecentReports : true ,
7860+ includeMultipleParticipantReports : true ,
7861+ action : CONST . IOU . ACTION . CREATE ,
7862+ sortedActions,
7863+ } ) ;
78737864
78747865 expect ( results . recentReports . length ) . toBe ( 1 ) ;
78757866 expect ( results . recentReports . at ( 0 ) ?. lastIOUCreationDate ) . toBe ( expectedDate ) ;
@@ -7920,20 +7911,11 @@ describe('OptionsListUtils', () => {
79207911 isBold : false ,
79217912 } ;
79227913
7923- const results = getValidOptions (
7924- { reports : [ inputOption ] , personalDetails : [ ] } ,
7925- allPolicies ,
7926- { } ,
7927- loginList ,
7928- CURRENT_USER_ACCOUNT_ID ,
7929- CURRENT_USER_EMAIL ,
7930- undefined ,
7931- {
7932- includeRecentReports : true ,
7933- action : CONST . IOU . ACTION . CREATE ,
7934- sortedActions : { [ reportID ] : [ commentAction ] } ,
7935- } ,
7936- ) ;
7914+ const results = getValidOptions ( { reports : [ inputOption ] , personalDetails : [ ] } , allPolicies , { } , loginList , CURRENT_USER_ACCOUNT_ID , CURRENT_USER_EMAIL , undefined , {
7915+ includeRecentReports : true ,
7916+ action : CONST . IOU . ACTION . CREATE ,
7917+ sortedActions : { [ reportID ] : [ commentAction ] } ,
7918+ } ) ;
79377919
79387920 expect ( results . recentReports . at ( 0 ) ?. lastIOUCreationDate ) . toBeUndefined ( ) ;
79397921 } ) ;
0 commit comments