@@ -38,6 +38,7 @@ describe('getBulkOperationStatus', () => {
3838 return {
3939 bulkOperation : {
4040 id : operationId ,
41+ type : 'QUERY' ,
4142 status : 'RUNNING' ,
4243 errorCode : null ,
4344 objectCount : 100 ,
@@ -75,8 +76,8 @@ describe('getBulkOperationStatus', () => {
7576 const output = mockAndCaptureOutput ( )
7677 await getBulkOperationStatus ( { storeFqdn, operationId, remoteApp} )
7778
78- expect ( output . info ( ) ) . toContain ( 'Bulk operation in progress... ' )
79- expect ( output . info ( ) ) . toContain ( '500 objects' )
79+ expect ( output . info ( ) ) . toContain ( 'Bulk operation in progress' )
80+ expect ( output . info ( ) ) . toContain ( '500 objects read ' )
8081 expect ( output . info ( ) ) . toContain ( 'Started' )
8182 } )
8283
@@ -114,7 +115,7 @@ describe('getBulkOperationStatus', () => {
114115 const output = mockAndCaptureOutput ( )
115116 await getBulkOperationStatus ( { storeFqdn, operationId, remoteApp} )
116117
117- expect ( output . info ( ) ) . toContain ( 'Starting... ' )
118+ expect ( output . info ( ) ) . toContain ( 'Starting' )
118119 } )
119120
120121 test ( 'renders info banner for canceled operation' , async ( ) => {
@@ -160,6 +161,7 @@ describe('listBulkOperations', () => {
160161 bulkOperations : {
161162 nodes : operations . map ( ( op ) => ( {
162163 id : 'gid://shopify/BulkOperation/123' ,
164+ type : 'QUERY' ,
163165 status : 'RUNNING' ,
164166 errorCode : null ,
165167 objectCount : 100 ,
0 commit comments