Skip to content

Commit 8661915

Browse files
committed
chore: add return type
1 parent 6057048 commit 8661915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/batch/tests/unit/processPartialResponse.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('Function: processPartialResponse()', () => {
5454
const handlerWithKinesisEvent = (
5555
event: KinesisStreamEvent,
5656
options: BatchProcessingOptions
57-
) => {
57+
): Promise<PartialItemFailureResponse> => {
5858
const processor = new BatchProcessor(EventType.KinesisDataStreams);
5959

6060
const handler = async (
@@ -74,7 +74,7 @@ describe('Function: processPartialResponse()', () => {
7474
const handlerWithDynamoDBEvent = (
7575
event: DynamoDBStreamEvent,
7676
options: BatchProcessingOptions
77-
) => {
77+
): Promise<PartialItemFailureResponse> => {
7878
const processor = new BatchProcessor(EventType.DynamoDBStreams);
7979

8080
const handler = async (

0 commit comments

Comments
 (0)