Skip to content

Commit 4cd8e8d

Browse files
committed
Add test
1 parent 6c6f355 commit 4cd8e8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev-packages/e2e-tests/test-applications/nextjs-app-dir/tests/route-handlers.test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ test('Should record exceptions and transactions for faulty route handlers', asyn
6060

6161
expect(routehandlerError.exception?.values?.[0].value).toBe('route-handler-error');
6262

63+
expect(routehandlerError.request?.method).toBe('PUT');
64+
expect(routehandlerError.request?.url).toBe('http://localhost:3030/route-handlers/[param]/error');
65+
6366
expect(routehandlerError.transaction).toBe('PUT /route-handlers/[param]/error');
6467
});
6568

0 commit comments

Comments
 (0)