Skip to content

Commit a65e856

Browse files
committed
add node-integration-test
1 parent 07b4c11 commit a65e856

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • dev-packages/node-integration-tests/suites/express/handle-error

dev-packages/node-integration-tests/suites/express/handle-error/test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ test('should capture and send Express controller error with txn name if tracesSa
1010
.expect({
1111
transaction: {
1212
transaction: 'GET /test/express/:id',
13+
contexts: {
14+
trace: {
15+
op: 'http.server',
16+
status: 'internal_error',
17+
data: expect.objectContaining({
18+
'http.response.status_code': 500,
19+
}),
20+
},
21+
},
1322
},
1423
})
1524
.expect({

0 commit comments

Comments
 (0)