Skip to content

Commit 3665bc9

Browse files
committed
fix variable naming issue.
1 parent bab4cfa commit 3665bc9

File tree

1 file changed

+3
-3
lines changed
  • plugins/node/opentelemetry-instrumentation-aws-sdk/test

1 file changed

+3
-3
lines changed

plugins/node/opentelemetry-instrumentation-aws-sdk/test/sns.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ describe('SNS - v3', () => {
128128
(s: ReadableSpan) => s.name === 'SNS CreateTopic'
129129
);
130130
expect(createTopicSpans.length).toBe(1);
131-
const publishSpan = createTopicSpans[0];
132-
expect(publishSpan.attributes[ATTR_AWS_SNS_TOPIC_ARN]).toBe(topicArn);
133-
expect(publishSpan.kind).toBe(SpanKind.CLIENT);
131+
const span = createTopicSpans[0];
132+
expect(span.attributes[ATTR_AWS_SNS_TOPIC_ARN]).toBe(topicArn);
133+
expect(span.kind).toBe(SpanKind.CLIENT);
134134
});
135135
});
136136
});

0 commit comments

Comments
 (0)