Skip to content

Commit f4ea39f

Browse files
fix broken test because of empty bucketInfos not properly created
Issue: S3UTILS-243
1 parent 24d04b4 commit f4ea39f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/CountItems/CountManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ describe('CountItems::CountManager', () => {
983983
});
984984
const bucketList = {
985985
bucketCount: 10,
986-
bucketInfos: Array(10)
987-
.map(() => BucketInfo.deSerialize(testBucketMD)),
986+
bucketInfos: Array(10).fill()
987+
.map(() => BucketInfo.deSerialize(stringifiedBucketMD)),
988988
};
989989
m.addWork(bucketList);
990990
const testCB = jest.fn();

0 commit comments

Comments
 (0)