Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Dec 7, 2023
1 parent 42b9fdc commit c36ef60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/utils/mock/BucketD.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ class BucketD {
const body = {
CommonPrefixes: [],
IsTruncated: false,
Versions: this._bucketContent[bucketName] || [],
Versions: (this._bucketContent[bucketName] || [])
// patch in a versionId to more closely match the real response
.map(entry => ({ ...entry, versionId: "null" })),

Check warning on line 121 in tests/utils/mock/BucketD.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
};
return body;
}
Expand Down

0 comments on commit c36ef60

Please sign in to comment.