We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f56677 commit 8de1c04Copy full SHA for 8de1c04
tests/unit/s3middleware/tagging.spec.js
@@ -68,6 +68,14 @@ describe('areTagsValid', () => {
68
assert.strictEqual(result, false);
69
});
70
71
+ it('should return true for tags with empty Value', () => {
72
+ const validTags = [
73
+ { Key: 'key1', Value: '' }
74
+ ];
75
+ const result = areTagsValid(validTags);
76
+ assert.strictEqual(result, true);
77
+ });
78
+
79
it('should return false for tags with duplicate keys', () => {
80
const invalidTags = [
81
{ Key: 'key1', Value: 'value1' },
0 commit comments