@@ -331,6 +331,7 @@ describe('executeMaterializeFile - save storage transition', () => {
331331 displayName : 'image (1).png' ,
332332 } )
333333 )
334+ expect ( result . output ) . toEqual ( { succeeded : [ 'image (1).png' ] , failed : [ ] } )
334335 expect ( result . resources ) . toEqual ( [ { type : 'file' , id : 'file-1' , title : 'image (1).png' } ] )
335336 } )
336337
@@ -380,6 +381,7 @@ describe('executeMaterializeFile - save storage transition', () => {
380381 expect . objectContaining ( { originalName : 'image (2).png' } )
381382 )
382383 expect ( mockIncrementStorageUsageForBillingContextInTx ) . toHaveBeenCalledTimes ( 1 )
384+ expect ( result . output ) . toEqual ( { succeeded : [ 'image (2).png' ] , failed : [ ] } )
383385 expect ( result . resources ) . toEqual ( [ { type : 'file' , id : 'file-1' , title : 'image (2).png' } ] )
384386 } )
385387
@@ -433,6 +435,7 @@ describe('executeMaterializeFile - save storage transition', () => {
433435 expect ( mockGetWorkspaceFile ) . toHaveBeenCalledWith ( context . workspaceId , 'file-1' , {
434436 throwOnError : true ,
435437 } )
438+ expect ( result . output ) . toEqual ( { succeeded : [ 'report (1).txt' ] , failed : [ ] } )
436439 expect ( result . resources ) . toEqual ( [ { type : 'file' , id : 'file-1' , title : 'report (1).txt' } ] )
437440 expect ( mockIncrementStorageUsageForBillingContextInTx ) . not . toHaveBeenCalled ( )
438441 expect ( mockMaybeNotifyStorageLimitForBillingContext ) . not . toHaveBeenCalled ( )
0 commit comments