File tree 1 file changed +8
-2
lines changed
plugins/node/opentelemetry-instrumentation-aws-sdk/test
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ describe('SNS - v2', () => {
71
71
72
72
afterEach ( ( ) => {
73
73
hookSpy . resetHistory ( ) ;
74
- } )
74
+ } ) ;
75
75
76
76
describe ( 'publish' , ( ) => {
77
77
it ( 'topic arn' , async ( ) => {
@@ -187,6 +187,10 @@ describe('SNS - v3', () => {
187
187
} ) ;
188
188
} ) ;
189
189
190
+ afterEach ( ( ) => {
191
+ hookSpy . resetHistory ( ) ;
192
+ } ) ;
193
+
190
194
describe ( 'publish' , ( ) => {
191
195
beforeEach ( ( ) => {
192
196
nock ( 'https://sns.us-east-1.amazonaws.com/' )
@@ -245,14 +249,16 @@ describe('SNS - v3', () => {
245
249
} ) ;
246
250
247
251
describe ( 'publish batch' , ( ) => {
248
- it ( 'inject context propagation for publish batch command' , async ( ) => {
252
+ beforeEach ( ( ) => {
249
253
nock ( 'https://sns.us-east-1.amazonaws.com/' )
250
254
. post ( '/' )
251
255
. reply (
252
256
200 ,
253
257
fs . readFileSync ( './test/mock-responses/sns-publish-batch.xml' , 'utf8' )
254
258
) ;
259
+ } ) ;
255
260
261
+ it ( 'inject context propagation for publish batch command' , async ( ) => {
256
262
await sns
257
263
. publishBatch ( {
258
264
TopicArn : fakeARN ,
You can’t perform that action at this time.
0 commit comments