Skip to content

Commit

Permalink
test: extend tests to include path in fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi committed Sep 10, 2024
1 parent a06d239 commit 9fb61f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tracer/tests/e2e/middy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('Tracer E2E tests, middy instrumentation', () => {
const httpSubsegment = subsegments.get('docs.powertools.aws.dev');
expect(httpSubsegment?.namespace).toBe('remote');
expect(httpSubsegment?.http?.request?.url).toEqual(
'docs.powertools.aws.dev'
'https://docs.powertools.aws.dev/lambda/typescript/latest/'
);
expect(httpSubsegment?.http?.request?.method).toBe('GET');
expect(httpSubsegment?.http?.response?.status).toEqual(expect.any(Number));
Expand Down

0 comments on commit 9fb61f0

Please sign in to comment.