Skip to content

Commit 5a0e522

Browse files
committed
update trigger.spec.ts tests
1 parent 0fb3144 commit 5a0e522

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/trace/trigger.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe("parseEventSource", () => {
1717
"http.url": "id.execute-api.us-east-1.amazonaws.com",
1818
"http.url_details.path": "/my/path",
1919
"http.method": "GET",
20+
"http.route": "/my/path",
2021
},
2122
file: "api-gateway-v1.json",
2223
},
@@ -27,7 +28,9 @@ describe("parseEventSource", () => {
2728
"http.url": "r3pmxmplak.execute-api.us-east-2.amazonaws.com",
2829
"http.url_details.path": "/default/nodejs-apig-function-1G3XMPLZXVXYI",
2930
"http.method": "GET",
30-
},
31+
"http.route": "ANY /nodejs-apig-function-1G3XMPLZXVXYI",
32+
33+
},
3134
file: "api-gateway-v2.json",
3235
},
3336
{

0 commit comments

Comments
 (0)