@@ -6,14 +6,14 @@ import { SpanJSON } from '@sentry/core';
6
6
test ( 'Propagates trace for outgoing http requests' , async ( { baseURL } ) => {
7
7
const id = crypto . randomUUID ( ) ;
8
8
9
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
9
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
10
10
return (
11
11
transactionEvent . contexts ?. trace ?. op === 'http.server' &&
12
12
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
13
13
) ;
14
14
} ) ;
15
15
16
- const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
16
+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
17
17
return (
18
18
transactionEvent . contexts ?. trace ?. op === 'http.server' &&
19
19
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http/${ id } `
@@ -120,14 +120,14 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
120
120
test ( 'Propagates trace for outgoing fetch requests' , async ( { baseURL } ) => {
121
121
const id = crypto . randomUUID ( ) ;
122
122
123
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
123
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
124
124
return (
125
125
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
126
126
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
127
127
) ;
128
128
} ) ;
129
129
130
- const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
130
+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
131
131
return (
132
132
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
133
133
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch/${ id } `
@@ -232,7 +232,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
232
232
} ) ;
233
233
234
234
test ( 'Propagates trace for outgoing external http requests' , async ( { baseURL } ) => {
235
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
235
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
236
236
return (
237
237
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
238
238
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-allowed`
@@ -269,7 +269,7 @@ test('Propagates trace for outgoing external http requests', async ({ baseURL })
269
269
} ) ;
270
270
271
271
test ( 'Does not propagate outgoing http requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
272
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
272
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
273
273
return (
274
274
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
275
275
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-disallowed`
@@ -293,7 +293,7 @@ test('Does not propagate outgoing http requests not covered by tracePropagationT
293
293
} ) ;
294
294
295
295
test ( 'Propagates trace for outgoing external fetch requests' , async ( { baseURL } ) => {
296
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
296
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
297
297
return (
298
298
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
299
299
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-allowed`
@@ -330,7 +330,7 @@ test('Propagates trace for outgoing external fetch requests', async ({ baseURL }
330
330
} ) ;
331
331
332
332
test ( 'Does not propagate outgoing fetch requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
333
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
333
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
334
334
return (
335
335
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
336
336
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-disallowed`
0 commit comments