Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 5, 2024
1 parent b28a675 commit 42c6076
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/quota/awsNodeSdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function deleteVersionID(bucket, key, versionId, size, cb) {
Key: key,
VersionId: versionId,
}, (err, data) => {
console.log('error', err);

Check failure on line 139 in tests/quota/awsNodeSdk.js

View workflow job for this annotation

GitHub Actions / linting-coverage

Unexpected console statement
if (!err && !s3Config.isQuotaInflightEnabled()) {
mockScuba.incrementBytesForBucket(bucket, -size);
}
Expand Down Expand Up @@ -790,6 +791,7 @@ function multiObjectDelete(bucket, keys, size, callback) {
return next();
},
next => deleteVersionID(bucket, key, vID, size, err => {
console.log('error', err);

Check failure on line 794 in tests/quota/awsNodeSdk.js

View workflow job for this annotation

GitHub Actions / linting-coverage

Unexpected console statement
assert.strictEqual(err.code, 'AccessDenied');
next();
}),
Expand Down

0 comments on commit 42c6076

Please sign in to comment.