@@ -110,7 +110,7 @@ describe('Function: processPartialResponse()', () => {
110
110
} ;
111
111
112
112
// Act
113
- const result = await handler ( event , context ) ;
113
+ const result = await handler ( event , context . helloworldContext ) ;
114
114
115
115
// Assess
116
116
expect ( result ) . toStrictEqual ( { batchItemFailures : [ ] } ) ;
@@ -137,7 +137,7 @@ describe('Function: processPartialResponse()', () => {
137
137
} ;
138
138
139
139
// Act
140
- const result = await handler ( event , context ) ;
140
+ const result = await handler ( event , context . helloworldContext ) ;
141
141
142
142
// Assess
143
143
expect ( result ) . toStrictEqual ( { batchItemFailures : [ ] } ) ;
@@ -164,7 +164,7 @@ describe('Function: processPartialResponse()', () => {
164
164
} ;
165
165
166
166
// Act
167
- const result = await handler ( event , context ) ;
167
+ const result = await handler ( event , context . helloworldContext ) ;
168
168
169
169
// Assess
170
170
expect ( result ) . toStrictEqual ( { batchItemFailures : [ ] } ) ;
@@ -223,7 +223,7 @@ describe('Function: processPartialResponse()', () => {
223
223
} ;
224
224
225
225
// Act
226
- const result = await handler ( event , context ) ;
226
+ const result = await handler ( event , context . helloworldContext ) ;
227
227
228
228
// Assess
229
229
expect ( result ) . toStrictEqual ( { batchItemFailures : [ ] } ) ;
0 commit comments