File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
plugins/node/opentelemetry-instrumentation-aws-sdk/test Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ describe('SNS - v2', () => {
7171
7272 afterEach ( ( ) => {
7373 hookSpy . resetHistory ( ) ;
74- } )
74+ } ) ;
7575
7676 describe ( 'publish' , ( ) => {
7777 it ( 'topic arn' , async ( ) => {
@@ -187,6 +187,10 @@ describe('SNS - v3', () => {
187187 } ) ;
188188 } ) ;
189189
190+ afterEach ( ( ) => {
191+ hookSpy . resetHistory ( ) ;
192+ } ) ;
193+
190194 describe ( 'publish' , ( ) => {
191195 beforeEach ( ( ) => {
192196 nock ( 'https://sns.us-east-1.amazonaws.com/' )
@@ -245,14 +249,16 @@ describe('SNS - v3', () => {
245249 } ) ;
246250
247251 describe ( 'publish batch' , ( ) => {
248- it ( 'inject context propagation for publish batch command' , async ( ) => {
252+ beforeEach ( ( ) => {
249253 nock ( 'https://sns.us-east-1.amazonaws.com/' )
250254 . post ( '/' )
251255 . reply (
252256 200 ,
253257 fs . readFileSync ( './test/mock-responses/sns-publish-batch.xml' , 'utf8' )
254258 ) ;
259+ } ) ;
255260
261+ it ( 'inject context propagation for publish batch command' , async ( ) => {
256262 await sns
257263 . publishBatch ( {
258264 TopicArn : fakeARN ,
You can’t perform that action at this time.
0 commit comments