Skip to content

Commit

Permalink
feature: add tests for max enhanced consumers options
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Doron committed Nov 8, 2019
1 parent d65edc8 commit a321709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ describe('lib/index', () => {
const kinesis = new Kinesis({
...options,
limit: -100,
maxEnhancedConsumers: -1,
noRecordsPollDelay: 0,
pollDelay: -100,
shardCount: 0,
Expand All @@ -326,6 +327,7 @@ describe('lib/index', () => {
expect(StateStore).toHaveBeenCalledWith(
expect.objectContaining({
limit: 10000,
maxEnhancedConsumers: 5,
noRecordsPollDelay: 250,
pollDelay: 250,
shardCount: 1,
Expand Down

0 comments on commit a321709

Please sign in to comment.