@@ -2809,10 +2809,9 @@ describe('ReportUtils', () => {
28092809 } ;
28102810 const report : Report = {
28112811 ...createRandomReport ( 1 ) ,
2812- reportName : 'Test Report' ,
28132812 } ;
28142813 const result = getMoneyReportPreviewName ( action , report ) ;
2815- expect ( result ) . toBe ( 'Test Report ' ) ;
2814+ expect ( result ) . toBe ( 'Five, Four, One, Three, Two... ' ) ;
28162815 } ) ;
28172816
28182817 it ( 'should return the child report name if the report name is not present' , ( ) => {
@@ -2821,15 +2820,11 @@ describe('ReportUtils', () => {
28212820 actionName : CONST . REPORT . ACTIONS . TYPE . REPORT_PREVIEW ,
28222821 childReportName : 'Child Report' ,
28232822 } ;
2824- const report : Report = {
2825- ...createRandomReport ( 1 ) ,
2826- reportName : '' ,
2827- } ;
2828- const result = getMoneyReportPreviewName ( action , report ) ;
2823+ const result = getMoneyReportPreviewName ( action , undefined ) ;
28292824 expect ( result ) . toBe ( 'Child Report' ) ;
28302825 } ) ;
28312826 } ) ;
2832-
2827+
28332828 describe ( 'canAddTransaction' , ( ) => {
28342829 it ( 'should return true for a non-archived report' , async ( ) => {
28352830 // Given a non-archived expense report
0 commit comments