File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import * as AWS from 'aws-sdk';
2
2
import { v4 as uuid } from 'uuid' ;
3
3
import DynamoDbDao from '.' ;
4
4
import mockLogger from '../test/helpers/mockLogger' ;
5
- import { DEFAULT_QUERY_LIMIT } from './constants' ;
6
5
import { CountOutput } from './types' ;
7
6
import { generateUpdateParams } from './update/generateUpdateParams' ;
8
7
@@ -211,7 +210,6 @@ test(`#query should have default query limit`, async () => {
211
210
expect ( documentClient . query ) . toHaveBeenCalledWith ( {
212
211
TableName : tableName ,
213
212
IndexName : index ,
214
- Limit : DEFAULT_QUERY_LIMIT ,
215
213
ExclusiveStartKey : undefined ,
216
214
KeyConditionExpression : keyConditionExpression ,
217
215
ExpressionAttributeValues : attributeValues ,
@@ -509,7 +507,6 @@ test('#scan should allow consistent reads', async () => {
509
507
510
508
expect ( documentClient . scan ) . toHaveBeenCalledWith ( {
511
509
ConsistentRead : true ,
512
- Limit : 50 ,
513
510
TableName : tableName ,
514
511
} ) ;
515
512
} ) ;
You can’t perform that action at this time.
0 commit comments