MCPcopy Index your code
hub / github.com/scality/cloudserver / cleanupObject

Function cleanupObject

tests/functional/raw-node/test/GCP/object/object.js:48–56  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

46 }
47
48 async function cleanupObject(test) {
49 if (!test.key) {
50 return;
51 }
52 await gcpClient.send(new DeleteObjectCommand({
53 Bucket: bucketName,
54 Key: test.key,
55 }));
56 }
57
58 describe('HEAD Object', () => {
59 describe('with existing object in bucket', () => {

Callers 1

object.jsFile · 0.85

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected