Skip to content

Commit 74411a0

Browse files
committed
lint:fix
1 parent a21a400 commit 74411a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,15 +781,17 @@ describe('lambda handler', () => {
781781
},
782782
queryStringParameters: {
783783
key: 'value',
784-
key2: 'value2'
784+
key2: 'value2',
785785
},
786786
};
787787

788788
await lambdaRequire('lambda-test/sync').handler(event, ctx, () => {});
789789
const [span] = memoryExporter.getFinishedSpans();
790790
assert.ok(
791-
(span.attributes[ATTR_URL_FULL] === 'http://www.example.com/lambda/test/path?key=value&key2=value2') ||
792-
(span.attributes[ATTR_URL_FULL] === 'http://www.example.com/lambda/test/path?key2=value2&key=value')
791+
span.attributes[ATTR_URL_FULL] ===
792+
'http://www.example.com/lambda/test/path?key=value&key2=value2' ||
793+
span.attributes[ATTR_URL_FULL] ===
794+
'http://www.example.com/lambda/test/path?key2=value2&key=value'
793795
);
794796
});
795797
it('pulls url from api gateway http events', async () => {

0 commit comments

Comments
 (0)