File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/storage/test/unit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,13 +333,13 @@ GOOG4-RSA-SHA256`
333
333
const ref = service . refFromURL ( 'gs://mybucket/image.jpg' ) ;
334
334
const metadataPromise = ref . getMetadata ( ) ;
335
335
// eslint-disable-next-line @typescript-eslint/no-floating-promises
336
- service . INTERNAL . delete ( ) ;
336
+ service . _delegate . _delete ( ) ;
337
337
await expect ( metadataPromise ) . to . be . rejectedWith ( 'storage/app-deleted' ) ;
338
338
} ) ;
339
339
it ( 'Requests fail when started after the service is deleted' , async ( ) => {
340
340
const ref = service . refFromURL ( 'gs://mybucket/image.jpg' ) ;
341
341
// eslint-disable-next-line @typescript-eslint/no-floating-promises
342
- service . INTERNAL . delete ( ) ;
342
+ service . _delegate . _delete ( ) ;
343
343
344
344
await expect ( ref . getMetadata ( ) ) . to . be . rejectedWith ( 'storage/app-deleted' ) ;
345
345
} ) ;
@@ -360,7 +360,7 @@ GOOG4-RSA-SHA256`
360
360
}
361
361
) ;
362
362
// eslint-disable-next-line @typescript-eslint/no-floating-promises
363
- service . INTERNAL . delete ( ) ;
363
+ service . _delegate . _delete ( ) ;
364
364
} ) ;
365
365
return toReturn ;
366
366
} ) ;
You can’t perform that action at this time.
0 commit comments