Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Oct 29, 2024
1 parent 6c6f355 commit b7d1eed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ test('Should record exceptions and transactions for faulty route handlers', asyn

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

expect(routehandlerError.request?.method).toBe('PUT');
expect(routehandlerError.request?.url).toContain('/route-handlers/[param]/error');

expect(routehandlerError.transaction).toBe('PUT /route-handlers/[param]/error');
});

Expand Down

0 comments on commit b7d1eed

Please sign in to comment.