Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbley committed Nov 14, 2024
1 parent a21a400 commit 74411a0
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,15 +781,17 @@ describe('lambda handler', () => {
},
queryStringParameters: {
key: 'value',
key2: 'value2'
key2: 'value2',
},
};

await lambdaRequire('lambda-test/sync').handler(event, ctx, () => {});
const [span] = memoryExporter.getFinishedSpans();
assert.ok(
(span.attributes[ATTR_URL_FULL] === 'http://www.example.com/lambda/test/path?key=value&key2=value2') ||
(span.attributes[ATTR_URL_FULL] === 'http://www.example.com/lambda/test/path?key2=value2&key=value')
span.attributes[ATTR_URL_FULL] ===
'http://www.example.com/lambda/test/path?key=value&key2=value2' ||
span.attributes[ATTR_URL_FULL] ===
'http://www.example.com/lambda/test/path?key2=value2&key=value'
);
});
it('pulls url from api gateway http events', async () => {
Expand Down

0 comments on commit 74411a0

Please sign in to comment.