We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab4cfa commit 3665bc9Copy full SHA for 3665bc9
plugins/node/opentelemetry-instrumentation-aws-sdk/test/sns.test.ts
@@ -128,9 +128,9 @@ describe('SNS - v3', () => {
128
(s: ReadableSpan) => s.name === 'SNS CreateTopic'
129
);
130
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);
+ const span = createTopicSpans[0];
+ expect(span.attributes[ATTR_AWS_SNS_TOPIC_ARN]).toBe(topicArn);
+ expect(span.kind).toBe(SpanKind.CLIENT);
134
});
135
136
0 commit comments