Skip to content

Commit 9fb61f0

Browse files
committed
test: extend tests to include path in fetch
1 parent a06d239 commit 9fb61f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/tracer/tests/e2e/middy.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('Tracer E2E tests, middy instrumentation', () => {
110110
const httpSubsegment = subsegments.get('docs.powertools.aws.dev');
111111
expect(httpSubsegment?.namespace).toBe('remote');
112112
expect(httpSubsegment?.http?.request?.url).toEqual(
113-
'docs.powertools.aws.dev'
113+
'https://docs.powertools.aws.dev/lambda/typescript/latest/'
114114
);
115115
expect(httpSubsegment?.http?.request?.method).toBe('GET');
116116
expect(httpSubsegment?.http?.response?.status).toEqual(expect.any(Number));

0 commit comments

Comments
 (0)