@@ -564,7 +564,7 @@ describe('API Routes', () => {
564564 . get ( '/v1/static/reports/data.json' )
565565 . expect ( 500 ) ;
566566
567- expect ( res . body ) . toHaveProperty ( 'error' , 'Failed to retrieve file ' ) ;
567+ expect ( res . body ) . toHaveProperty ( 'error' , 'Server failed to respond ' ) ;
568568 expect ( res . body ) . toHaveProperty ( 'details' ) ;
569569 } ) ;
570570
@@ -576,7 +576,7 @@ describe('API Routes', () => {
576576 . get ( '/v1/static/reports/data.json' )
577577 . expect ( 500 ) ;
578578
579- expect ( res . body ) . toHaveProperty ( 'error' , 'Failed to retrieve file ' ) ;
579+ expect ( res . body ) . toHaveProperty ( 'error' , 'Server failed to respond ' ) ;
580580 } ) ;
581581
582582 it ( 'should handle stream errors during file read' , async ( ) => {
@@ -852,7 +852,7 @@ describe('API Routes', () => {
852852 . get ( '/v1/static/reports/data.json' )
853853 . expect ( 500 ) ;
854854
855- expect ( res . body ) . toHaveProperty ( 'error' , 'Failed to retrieve file ' ) ;
855+ expect ( res . body ) . toHaveProperty ( 'error' , 'Server failed to respond ' ) ;
856856 expect ( res . body ) . toHaveProperty ( 'details' ) ;
857857 } ) ;
858858
@@ -864,7 +864,7 @@ describe('API Routes', () => {
864864 . get ( '/v1/static/reports/data.json' )
865865 . expect ( 500 ) ;
866866
867- expect ( res . body ) . toHaveProperty ( 'error' , 'Failed to retrieve file ' ) ;
867+ expect ( res . body ) . toHaveProperty ( 'error' , 'Server failed to respond ' ) ;
868868 } ) ;
869869
870870 it ( 'should handle stream errors during file read' , async ( ) => {
0 commit comments