From 04ebb1268cb4dcf4004936ca4f05d16f8baf9fd1 Mon Sep 17 00:00:00 2001 From: Pol Alvarez Date: Mon, 25 Jul 2022 17:06:26 +0200 Subject: [PATCH] removed unused snapshot --- .../safeBatchGetItem.test.js.snap | 2396 ----------------- 1 file changed, 2396 deletions(-) delete mode 100644 tests/utils/__snapshots__/safeBatchGetItem.test.js.snap diff --git a/tests/utils/__snapshots__/safeBatchGetItem.test.js.snap b/tests/utils/__snapshots__/safeBatchGetItem.test.js.snap deleted file mode 100644 index 56e16b514..000000000 --- a/tests/utils/__snapshots__/safeBatchGetItem.test.js.snap +++ /dev/null @@ -1,2396 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`safeBatchGetItem Combines correctly the result when over 100 1`] = ` -Object { - "ConsumedCapacity": Array [], - "Responses": Object { - "tableName": Array [ - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - ], - }, - "UnprocessedKeys": Object {}, -} -`; - -exports[`safeBatchGetItem Combines many tables correctly when over 100 1`] = ` -Array [ - Object { - "RequestItems": Object { - "anotherTableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - Object { - "key": 40, - }, - Object { - "key": 41, - }, - Object { - "key": 42, - }, - Object { - "key": 43, - }, - Object { - "key": 44, - }, - Object { - "key": 45, - }, - Object { - "key": 46, - }, - Object { - "key": 47, - }, - Object { - "key": 48, - }, - Object { - "key": 49, - }, - Object { - "key": 50, - }, - Object { - "key": 51, - }, - Object { - "key": 52, - }, - Object { - "key": 53, - }, - Object { - "key": 54, - }, - Object { - "key": 55, - }, - Object { - "key": 56, - }, - Object { - "key": 57, - }, - Object { - "key": 58, - }, - Object { - "key": 59, - }, - Object { - "key": 60, - }, - Object { - "key": 61, - }, - Object { - "key": 62, - }, - Object { - "key": 63, - }, - Object { - "key": 64, - }, - Object { - "key": 65, - }, - Object { - "key": 66, - }, - Object { - "key": 67, - }, - Object { - "key": 68, - }, - Object { - "key": 69, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - "anotherTableName1": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, - Object { - "RequestItems": Object { - "anotherTableName1": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, -] -`; - -exports[`safeBatchGetItem Returns correctly the result when under 100 1`] = ` -Object { - "ConsumedCapacity": Array [], - "Responses": Object { - "tableName": Array [ - Object { - "key": 1, - }, - Object { - "key": 2, - }, - ], - }, - "UnprocessedKeys": Object {}, -} -`; - -exports[`safeBatchGetItem Works correctly with many tables when over 100 1`] = ` -Array [ - Object { - "RequestItems": Object { - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - Object { - "key": 40, - }, - Object { - "key": 41, - }, - Object { - "key": 42, - }, - Object { - "key": 43, - }, - Object { - "key": 44, - }, - Object { - "key": 45, - }, - Object { - "key": 46, - }, - Object { - "key": 47, - }, - Object { - "key": 48, - }, - Object { - "key": 49, - }, - Object { - "key": 50, - }, - Object { - "key": 51, - }, - Object { - "key": 52, - }, - Object { - "key": 53, - }, - Object { - "key": 54, - }, - Object { - "key": 55, - }, - Object { - "key": 56, - }, - Object { - "key": 57, - }, - Object { - "key": 58, - }, - Object { - "key": 59, - }, - Object { - "key": 60, - }, - Object { - "key": 61, - }, - Object { - "key": 62, - }, - Object { - "key": 63, - }, - Object { - "key": 64, - }, - Object { - "key": 65, - }, - Object { - "key": 66, - }, - Object { - "key": 67, - }, - Object { - "key": 68, - }, - Object { - "key": 69, - }, - Object { - "key": 70, - }, - Object { - "key": 71, - }, - Object { - "key": 72, - }, - Object { - "key": 73, - }, - Object { - "key": 74, - }, - Object { - "key": 75, - }, - Object { - "key": 76, - }, - Object { - "key": 77, - }, - Object { - "key": 78, - }, - Object { - "key": 79, - }, - Object { - "key": 80, - }, - Object { - "key": 81, - }, - Object { - "key": 82, - }, - Object { - "key": 83, - }, - Object { - "key": 84, - }, - Object { - "key": 85, - }, - Object { - "key": 86, - }, - Object { - "key": 87, - }, - Object { - "key": 88, - }, - Object { - "key": 89, - }, - Object { - "key": 90, - }, - Object { - "key": 91, - }, - Object { - "key": 92, - }, - Object { - "key": 93, - }, - Object { - "key": 94, - }, - Object { - "key": 95, - }, - Object { - "key": 96, - }, - Object { - "key": 97, - }, - Object { - "key": 98, - }, - Object { - "key": 99, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, - Object { - "RequestItems": Object { - "anotherTableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - Object { - "key": 40, - }, - Object { - "key": 41, - }, - Object { - "key": 42, - }, - Object { - "key": 43, - }, - Object { - "key": 44, - }, - Object { - "key": 45, - }, - Object { - "key": 46, - }, - Object { - "key": 47, - }, - Object { - "key": 48, - }, - Object { - "key": 49, - }, - Object { - "key": 50, - }, - Object { - "key": 51, - }, - Object { - "key": 52, - }, - Object { - "key": 53, - }, - Object { - "key": 54, - }, - Object { - "key": 55, - }, - Object { - "key": 56, - }, - Object { - "key": 57, - }, - Object { - "key": 58, - }, - Object { - "key": 59, - }, - Object { - "key": 60, - }, - Object { - "key": 61, - }, - Object { - "key": 62, - }, - Object { - "key": 63, - }, - Object { - "key": 64, - }, - Object { - "key": 65, - }, - Object { - "key": 66, - }, - Object { - "key": 67, - }, - Object { - "key": 68, - }, - Object { - "key": 69, - }, - Object { - "key": 70, - }, - Object { - "key": 71, - }, - Object { - "key": 72, - }, - Object { - "key": 73, - }, - Object { - "key": 74, - }, - Object { - "key": 75, - }, - Object { - "key": 76, - }, - Object { - "key": 77, - }, - Object { - "key": 78, - }, - Object { - "key": 79, - }, - Object { - "key": 80, - }, - Object { - "key": 81, - }, - Object { - "key": 82, - }, - Object { - "key": 83, - }, - Object { - "key": 84, - }, - Object { - "key": 85, - }, - Object { - "key": 86, - }, - Object { - "key": 87, - }, - Object { - "key": 88, - }, - Object { - "key": 89, - }, - Object { - "key": 90, - }, - Object { - "key": 91, - }, - Object { - "key": 92, - }, - Object { - "key": 93, - }, - Object { - "key": 94, - }, - Object { - "key": 95, - }, - Object { - "key": 96, - }, - Object { - "key": 97, - }, - Object { - "key": 98, - }, - Object { - "key": 99, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, - Object { - "RequestItems": Object { - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 100, - }, - Object { - "key": 101, - }, - Object { - "key": 102, - }, - Object { - "key": 103, - }, - Object { - "key": 104, - }, - Object { - "key": 105, - }, - Object { - "key": 106, - }, - Object { - "key": 107, - }, - Object { - "key": 108, - }, - Object { - "key": 109, - }, - Object { - "key": 110, - }, - Object { - "key": 111, - }, - Object { - "key": 112, - }, - Object { - "key": 113, - }, - Object { - "key": 114, - }, - Object { - "key": 115, - }, - Object { - "key": 116, - }, - Object { - "key": 117, - }, - Object { - "key": 118, - }, - Object { - "key": 119, - }, - Object { - "key": 120, - }, - Object { - "key": 121, - }, - Object { - "key": 122, - }, - Object { - "key": 123, - }, - Object { - "key": 124, - }, - Object { - "key": 125, - }, - Object { - "key": 126, - }, - Object { - "key": 127, - }, - Object { - "key": 128, - }, - Object { - "key": 129, - }, - Object { - "key": 130, - }, - Object { - "key": 131, - }, - Object { - "key": 132, - }, - Object { - "key": 133, - }, - Object { - "key": 134, - }, - Object { - "key": 135, - }, - Object { - "key": 136, - }, - Object { - "key": 137, - }, - Object { - "key": 138, - }, - Object { - "key": 139, - }, - Object { - "key": 140, - }, - Object { - "key": 141, - }, - Object { - "key": 142, - }, - Object { - "key": 143, - }, - Object { - "key": 144, - }, - Object { - "key": 145, - }, - Object { - "key": 146, - }, - Object { - "key": 147, - }, - Object { - "key": 148, - }, - Object { - "key": 149, - }, - Object { - "key": 150, - }, - Object { - "key": 151, - }, - Object { - "key": 152, - }, - Object { - "key": 153, - }, - Object { - "key": 154, - }, - Object { - "key": 155, - }, - Object { - "key": 156, - }, - Object { - "key": 157, - }, - Object { - "key": 158, - }, - Object { - "key": 159, - }, - Object { - "key": 160, - }, - Object { - "key": 161, - }, - Object { - "key": 162, - }, - Object { - "key": 163, - }, - Object { - "key": 164, - }, - Object { - "key": 165, - }, - Object { - "key": 166, - }, - Object { - "key": 167, - }, - Object { - "key": 168, - }, - Object { - "key": 169, - }, - Object { - "key": 170, - }, - Object { - "key": 171, - }, - Object { - "key": 172, - }, - Object { - "key": 173, - }, - Object { - "key": 174, - }, - Object { - "key": 175, - }, - Object { - "key": 176, - }, - Object { - "key": 177, - }, - Object { - "key": 178, - }, - Object { - "key": 179, - }, - Object { - "key": 180, - }, - Object { - "key": 181, - }, - Object { - "key": 182, - }, - Object { - "key": 183, - }, - Object { - "key": 184, - }, - Object { - "key": 185, - }, - Object { - "key": 186, - }, - Object { - "key": 187, - }, - Object { - "key": 188, - }, - Object { - "key": 189, - }, - Object { - "key": 190, - }, - Object { - "key": 191, - }, - Object { - "key": 192, - }, - Object { - "key": 193, - }, - Object { - "key": 194, - }, - Object { - "key": 195, - }, - Object { - "key": 196, - }, - Object { - "key": 197, - }, - Object { - "key": 198, - }, - Object { - "key": 199, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, - Object { - "RequestItems": Object { - "anotherTableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 100, - }, - Object { - "key": 101, - }, - Object { - "key": 102, - }, - Object { - "key": 103, - }, - Object { - "key": 104, - }, - Object { - "key": 105, - }, - Object { - "key": 106, - }, - Object { - "key": 107, - }, - Object { - "key": 108, - }, - Object { - "key": 109, - }, - Object { - "key": 110, - }, - Object { - "key": 111, - }, - Object { - "key": 112, - }, - Object { - "key": 113, - }, - Object { - "key": 114, - }, - Object { - "key": 115, - }, - Object { - "key": 116, - }, - Object { - "key": 117, - }, - Object { - "key": 118, - }, - Object { - "key": 119, - }, - Object { - "key": 120, - }, - Object { - "key": 121, - }, - Object { - "key": 122, - }, - Object { - "key": 123, - }, - Object { - "key": 124, - }, - Object { - "key": 125, - }, - Object { - "key": 126, - }, - Object { - "key": 127, - }, - Object { - "key": 128, - }, - Object { - "key": 129, - }, - Object { - "key": 130, - }, - Object { - "key": 131, - }, - Object { - "key": 132, - }, - Object { - "key": 133, - }, - Object { - "key": 134, - }, - Object { - "key": 135, - }, - Object { - "key": 136, - }, - Object { - "key": 137, - }, - Object { - "key": 138, - }, - Object { - "key": 139, - }, - Object { - "key": 140, - }, - Object { - "key": 141, - }, - Object { - "key": 142, - }, - Object { - "key": 143, - }, - Object { - "key": 144, - }, - Object { - "key": 145, - }, - Object { - "key": 146, - }, - Object { - "key": 147, - }, - Object { - "key": 148, - }, - Object { - "key": 149, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, -] -`; - -exports[`safeBatchGetItem Works correctly with many tables when under 100 1`] = ` -Array [ - Object { - "RequestItems": Object { - "anotherTableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - "anotherTableName1": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, -] -`; - -exports[`safeBatchGetItem splits the params if they exceed 100 keys 1`] = ` -Array [ - Object { - "RequestItems": Object { - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 0, - }, - Object { - "key": 1, - }, - Object { - "key": 2, - }, - Object { - "key": 3, - }, - Object { - "key": 4, - }, - Object { - "key": 5, - }, - Object { - "key": 6, - }, - Object { - "key": 7, - }, - Object { - "key": 8, - }, - Object { - "key": 9, - }, - Object { - "key": 10, - }, - Object { - "key": 11, - }, - Object { - "key": 12, - }, - Object { - "key": 13, - }, - Object { - "key": 14, - }, - Object { - "key": 15, - }, - Object { - "key": 16, - }, - Object { - "key": 17, - }, - Object { - "key": 18, - }, - Object { - "key": 19, - }, - Object { - "key": 20, - }, - Object { - "key": 21, - }, - Object { - "key": 22, - }, - Object { - "key": 23, - }, - Object { - "key": 24, - }, - Object { - "key": 25, - }, - Object { - "key": 26, - }, - Object { - "key": 27, - }, - Object { - "key": 28, - }, - Object { - "key": 29, - }, - Object { - "key": 30, - }, - Object { - "key": 31, - }, - Object { - "key": 32, - }, - Object { - "key": 33, - }, - Object { - "key": 34, - }, - Object { - "key": 35, - }, - Object { - "key": 36, - }, - Object { - "key": 37, - }, - Object { - "key": 38, - }, - Object { - "key": 39, - }, - Object { - "key": 40, - }, - Object { - "key": 41, - }, - Object { - "key": 42, - }, - Object { - "key": 43, - }, - Object { - "key": 44, - }, - Object { - "key": 45, - }, - Object { - "key": 46, - }, - Object { - "key": 47, - }, - Object { - "key": 48, - }, - Object { - "key": 49, - }, - Object { - "key": 50, - }, - Object { - "key": 51, - }, - Object { - "key": 52, - }, - Object { - "key": 53, - }, - Object { - "key": 54, - }, - Object { - "key": 55, - }, - Object { - "key": 56, - }, - Object { - "key": 57, - }, - Object { - "key": 58, - }, - Object { - "key": 59, - }, - Object { - "key": 60, - }, - Object { - "key": 61, - }, - Object { - "key": 62, - }, - Object { - "key": 63, - }, - Object { - "key": 64, - }, - Object { - "key": 65, - }, - Object { - "key": 66, - }, - Object { - "key": 67, - }, - Object { - "key": 68, - }, - Object { - "key": 69, - }, - Object { - "key": 70, - }, - Object { - "key": 71, - }, - Object { - "key": 72, - }, - Object { - "key": 73, - }, - Object { - "key": 74, - }, - Object { - "key": 75, - }, - Object { - "key": 76, - }, - Object { - "key": 77, - }, - Object { - "key": 78, - }, - Object { - "key": 79, - }, - Object { - "key": 80, - }, - Object { - "key": 81, - }, - Object { - "key": 82, - }, - Object { - "key": 83, - }, - Object { - "key": 84, - }, - Object { - "key": 85, - }, - Object { - "key": 86, - }, - Object { - "key": 87, - }, - Object { - "key": 88, - }, - Object { - "key": 89, - }, - Object { - "key": 90, - }, - Object { - "key": 91, - }, - Object { - "key": 92, - }, - Object { - "key": 93, - }, - Object { - "key": 94, - }, - Object { - "key": 95, - }, - Object { - "key": 96, - }, - Object { - "key": 97, - }, - Object { - "key": 98, - }, - Object { - "key": 99, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, - Object { - "RequestItems": Object { - "tableName": Object { - "AttributesToGet": Array [ - "attributeId", - ], - "ConsistentRead": true, - "ExpressionAttributeNames": Object {}, - "Keys": Array [ - Object { - "key": 100, - }, - Object { - "key": 101, - }, - Object { - "key": 102, - }, - Object { - "key": 103, - }, - Object { - "key": 104, - }, - Object { - "key": 105, - }, - Object { - "key": 106, - }, - Object { - "key": 107, - }, - Object { - "key": 108, - }, - Object { - "key": 109, - }, - Object { - "key": 110, - }, - Object { - "key": 111, - }, - Object { - "key": 112, - }, - Object { - "key": 113, - }, - Object { - "key": 114, - }, - Object { - "key": 115, - }, - Object { - "key": 116, - }, - Object { - "key": 117, - }, - Object { - "key": 118, - }, - Object { - "key": 119, - }, - Object { - "key": 120, - }, - Object { - "key": 121, - }, - Object { - "key": 122, - }, - Object { - "key": 123, - }, - Object { - "key": 124, - }, - Object { - "key": 125, - }, - Object { - "key": 126, - }, - Object { - "key": 127, - }, - Object { - "key": 128, - }, - Object { - "key": 129, - }, - Object { - "key": 130, - }, - Object { - "key": 131, - }, - Object { - "key": 132, - }, - Object { - "key": 133, - }, - Object { - "key": 134, - }, - Object { - "key": 135, - }, - Object { - "key": 136, - }, - Object { - "key": 137, - }, - Object { - "key": 138, - }, - Object { - "key": 139, - }, - Object { - "key": 140, - }, - Object { - "key": 141, - }, - Object { - "key": 142, - }, - Object { - "key": 143, - }, - Object { - "key": 144, - }, - Object { - "key": 145, - }, - Object { - "key": 146, - }, - Object { - "key": 147, - }, - Object { - "key": 148, - }, - Object { - "key": 149, - }, - ], - "ProjectionExpression": "projectionExpressionValue", - }, - }, - "ReturnConsumedCapacity": "returnConsumedCapacityValue", - }, -] -`;