storage: automatically abort old multipart uploads in s3
This commit is contained in:
@@ -13,6 +13,8 @@ exports = module.exports = {
|
||||
remove,
|
||||
removeDir,
|
||||
|
||||
cleanup,
|
||||
|
||||
testConfig,
|
||||
removePrivateFields,
|
||||
injectPrivateFields
|
||||
@@ -94,6 +96,11 @@ async function removeDir(apiConfig, pathPrefix, progressCallback) {
|
||||
debug(`removeDir: ${pathPrefix}`);
|
||||
}
|
||||
|
||||
async function cleanup(apiConfig, progressCallback) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof progressCallback, 'function');
|
||||
}
|
||||
|
||||
async function testConfig(apiConfig) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user