Skip to content

Commit 8b20bcd

Browse files
committed
adapt error test
1 parent e61a444 commit 8b20bcd

File tree

1 file changed

+1
-0
lines changed
  • dev-packages/e2e-tests/test-applications/nestjs-fastify/tests

1 file changed

+1
-0
lines changed

dev-packages/e2e-tests/test-applications/nestjs-fastify/tests/errors.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ test('Sends exception to Sentry', async ({ baseURL }) => {
2424
expect(errorEvent.transaction).toEqual('GET /test-exception/:id');
2525

2626
expect(errorEvent.contexts?.trace).toEqual({
27+
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
2728
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
2829
span_id: expect.stringMatching(/[a-f0-9]{16}/),
2930
});

0 commit comments

Comments
 (0)