Skip to content

Commit 4b1e1f3

Browse files
committed
test: Streamline E2E test app names
No need to have the `-app` suffix there.
1 parent 7759d18 commit 4b1e1f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+71
-72
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ jobs:
993993
[
994994
'angular-17',
995995
'cloudflare-astro',
996-
'node-express-app',
996+
'node-express',
997997
'create-react-app',
998998
'create-next-app',
999999
'create-remix-app',
@@ -1012,13 +1012,12 @@ jobs:
10121012
'sveltekit-2',
10131013
'sveltekit-2-svelte-5',
10141014
'generic-ts3.8',
1015-
'node-fastify-app',
1016-
# TODO(v8): Re-enable hapi tests
1017-
# 'node-hapi-app',
1018-
'node-nestjs-app',
1015+
'node-fastify',
1016+
'node-hapi',
1017+
'node-nestjs',
10191018
'node-exports-test-app',
1020-
'node-koa-app',
1021-
'node-connect-app',
1019+
'node-koa',
1020+
'node-connect',
10221021
'vue-3',
10231022
'webpack-4',
10241023
'webpack-5'

dev-packages/e2e-tests/test-applications/node-connect-app/start-event-proxy.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

dev-packages/e2e-tests/test-applications/node-connect-app/package.json renamed to dev-packages/e2e-tests/test-applications/node-connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-connect-app",
2+
"name": "node-connect",
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {

dev-packages/e2e-tests/test-applications/node-koa-app/start-event-proxy.ts renamed to dev-packages/e2e-tests/test-applications/node-connect/start-event-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
22

33
startEventProxyServer({
44
port: 3031,
5-
proxyServerName: 'node-koa-app',
5+
proxyServerName: 'node-connect',
66
});

dev-packages/e2e-tests/test-applications/node-connect-app/tests/errors.test.ts renamed to dev-packages/e2e-tests/test-applications/node-connect/tests/errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends exception to Sentry', async ({ baseURL }) => {
4040
});
4141

4242
test('Sends correct error event', async ({ baseURL }) => {
43-
const errorEventPromise = waitForError('node-connect-app', event => {
43+
const errorEventPromise = waitForError('node-connect', event => {
4444
return !event.type && event.exception?.values?.[0]?.value === 'This is an exception';
4545
});
4646

dev-packages/e2e-tests/test-applications/node-connect-app/tests/transactions.test.ts renamed to dev-packages/e2e-tests/test-applications/node-connect/tests/transactions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
88
const EVENT_POLLING_TIMEOUT = 90_000;
99

1010
test('Sends an API route transaction', async ({ baseURL }) => {
11-
const pageloadTransactionEventPromise = waitForTransaction('node-connect-app', transactionEvent => {
11+
const pageloadTransactionEventPromise = waitForTransaction('node-connect', transactionEvent => {
1212
return (
1313
transactionEvent?.contexts?.trace?.op === 'http.server' &&
1414
transactionEvent?.transaction === 'GET /test-transaction'

dev-packages/e2e-tests/test-applications/node-express-app/start-event-proxy.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

dev-packages/e2e-tests/test-applications/node-hapi-app/start-event-proxy.ts renamed to dev-packages/e2e-tests/test-applications/node-express/start-event-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
22

33
startEventProxyServer({
44
port: 3031,
5-
proxyServerName: 'node-hapi-app',
5+
proxyServerName: 'node-express',
66
});

dev-packages/e2e-tests/test-applications/node-express-app/tests/error.test.ts renamed to dev-packages/e2e-tests/test-applications/node-express/tests/error.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends exception to Sentry', async ({ baseURL }) => {
4040
});
4141

4242
test('Sends correct error event', async ({ baseURL }) => {
43-
const errorEventPromise = waitForError('node-express-app', event => {
43+
const errorEventPromise = waitForError('node-express', event => {
4444
return !event.type && event.exception?.values?.[0]?.value === 'This is an exception with id 123';
4545
});
4646

@@ -109,7 +109,7 @@ test('Should record caught exceptions with local variable', async ({ baseURL })
109109
});
110110

111111
test('Should record uncaught exceptions with local variable', async ({ baseURL }) => {
112-
const errorEventPromise = waitForError('node-express-app', errorEvent => {
112+
const errorEventPromise = waitForError('node-express', errorEvent => {
113113
return !!errorEvent?.exception?.values?.[0]?.value?.includes('Uncaught Local Variable Error');
114114
});
115115

dev-packages/e2e-tests/test-applications/node-express-app/tests/trpc.test.ts renamed to dev-packages/e2e-tests/test-applications/node-express/tests/trpc.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createTRPCProxyClient, httpBatchLink } from '@trpc/client';
44
import type { AppRouter } from '../src/app';
55

66
test('Should record span for trpc query', async ({ baseURL }) => {
7-
const transactionEventPromise = waitForTransaction('node-express-app', transactionEvent => {
7+
const transactionEventPromise = waitForTransaction('node-express', transactionEvent => {
88
return (
99
transactionEvent.transaction === 'GET /trpc' &&
1010
!!transactionEvent.spans?.find(span => span.description === 'trpc/getSomething')
@@ -41,7 +41,7 @@ test('Should record span for trpc query', async ({ baseURL }) => {
4141
});
4242

4343
test('Should record transaction for trpc mutation', async ({ baseURL }) => {
44-
const transactionEventPromise = waitForTransaction('node-express-app', transactionEvent => {
44+
const transactionEventPromise = waitForTransaction('node-express', transactionEvent => {
4545
return (
4646
transactionEvent.transaction === 'POST /trpc' &&
4747
!!transactionEvent.spans?.find(span => span.description === 'trpc/createSomething')
@@ -77,14 +77,14 @@ test('Should record transaction for trpc mutation', async ({ baseURL }) => {
7777
});
7878

7979
test('Should record transaction and error for a crashing trpc handler', async ({ baseURL }) => {
80-
const transactionEventPromise = waitForTransaction('node-express-app', transactionEvent => {
80+
const transactionEventPromise = waitForTransaction('node-express', transactionEvent => {
8181
return (
8282
transactionEvent.transaction === 'POST /trpc' &&
8383
!!transactionEvent.spans?.find(span => span.description === 'trpc/crashSomething')
8484
);
8585
});
8686

87-
const errorEventPromise = waitForError('node-express-app', errorEvent => {
87+
const errorEventPromise = waitForError('node-express', errorEvent => {
8888
return !!errorEvent?.exception?.values?.some(exception => exception.value?.includes('I crashed in a trpc handler'));
8989
});
9090

@@ -103,14 +103,14 @@ test('Should record transaction and error for a crashing trpc handler', async ({
103103
});
104104

105105
test('Should record transaction and error for a trpc handler that returns a status code', async ({ baseURL }) => {
106-
const transactionEventPromise = waitForTransaction('node-express-app', transactionEvent => {
106+
const transactionEventPromise = waitForTransaction('node-express', transactionEvent => {
107107
return (
108108
transactionEvent.transaction === 'POST /trpc' &&
109109
!!transactionEvent.spans?.find(span => span.description === 'trpc/dontFindSomething')
110110
);
111111
});
112112

113-
const errorEventPromise = waitForError('node-express-app', errorEvent => {
113+
const errorEventPromise = waitForError('node-express', errorEvent => {
114114
return !!errorEvent?.exception?.values?.some(exception => exception.value?.includes('Page not found'));
115115
});
116116

dev-packages/e2e-tests/test-applications/node-fastify-app/package.json renamed to dev-packages/e2e-tests/test-applications/node-fastify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-fastify-app",
2+
"name": "node-fastify",
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {

dev-packages/e2e-tests/test-applications/node-nestjs-app/start-event-proxy.ts renamed to dev-packages/e2e-tests/test-applications/node-fastify/start-event-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
22

33
startEventProxyServer({
44
port: 3031,
5-
proxyServerName: 'node-nestjs-app',
5+
proxyServerName: 'node-fastify',
66
});

dev-packages/e2e-tests/test-applications/node-koa-app/tests/errors.test.ts renamed to dev-packages/e2e-tests/test-applications/node-fastify/tests/errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends exception to Sentry', async ({ baseURL }) => {
4040
});
4141

4242
test('Sends correct error event', async ({ baseURL }) => {
43-
const errorEventPromise = waitForError('node-koa-app', event => {
43+
const errorEventPromise = waitForError('node-fastify', event => {
4444
return !event.type && event.exception?.values?.[0]?.value === 'This is an exception with id 123';
4545
});
4646

dev-packages/e2e-tests/test-applications/node-fastify-app/tests/propagation.test.ts renamed to dev-packages/e2e-tests/test-applications/node-fastify/tests/propagation.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import axios from 'axios';
77
test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
88
const id = crypto.randomUUID();
99

10-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
10+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
1111
return (
1212
transactionEvent.contexts?.trace?.op === 'http.server' &&
1313
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-inbound-headers/${id}`
1414
);
1515
});
1616

17-
const outboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
17+
const outboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
1818
return (
1919
transactionEvent.contexts?.trace?.op === 'http.server' &&
2020
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-http/${id}`
@@ -121,14 +121,14 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
121121
test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
122122
const id = crypto.randomUUID();
123123

124-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
124+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
125125
return (
126126
transactionEvent?.contexts?.trace?.op === 'http.server' &&
127127
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-inbound-headers/${id}`
128128
);
129129
});
130130

131-
const outboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
131+
const outboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
132132
return (
133133
transactionEvent?.contexts?.trace?.op === 'http.server' &&
134134
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch/${id}`
@@ -233,7 +233,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
233233
});
234234

235235
test('Propagates trace for outgoing external http requests', async ({ baseURL }) => {
236-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
236+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
237237
return (
238238
transactionEvent?.contexts?.trace?.op === 'http.server' &&
239239
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 })
269269
});
270270

271271
test('Does not propagate outgoing http requests not covered by tracePropagationTargets', async ({ baseURL }) => {
272-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
272+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
273273
return (
274274
transactionEvent?.contexts?.trace?.op === 'http.server' &&
275275
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-http-external-disallowed`
@@ -292,7 +292,7 @@ test('Does not propagate outgoing http requests not covered by tracePropagationT
292292
});
293293

294294
test('Propagates trace for outgoing external fetch requests', async ({ baseURL }) => {
295-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
295+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
296296
return (
297297
transactionEvent?.contexts?.trace?.op === 'http.server' &&
298298
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch-external-allowed`
@@ -328,7 +328,7 @@ test('Propagates trace for outgoing external fetch requests', async ({ baseURL }
328328
});
329329

330330
test('Does not propagate outgoing fetch requests not covered by tracePropagationTargets', async ({ baseURL }) => {
331-
const inboundTransactionPromise = waitForTransaction('node-fastify-app', transactionEvent => {
331+
const inboundTransactionPromise = waitForTransaction('node-fastify', transactionEvent => {
332332
return (
333333
transactionEvent?.contexts?.trace?.op === 'http.server' &&
334334
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch-external-disallowed`

dev-packages/e2e-tests/test-applications/node-fastify-app/tests/transactions.test.ts renamed to dev-packages/e2e-tests/test-applications/node-fastify/tests/transactions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
88
const EVENT_POLLING_TIMEOUT = 90_000;
99

1010
test('Sends an API route transaction', async ({ baseURL }) => {
11-
const pageloadTransactionEventPromise = waitForTransaction('node-fastify-app', transactionEvent => {
11+
const pageloadTransactionEventPromise = waitForTransaction('node-fastify', transactionEvent => {
1212
return (
1313
transactionEvent?.contexts?.trace?.op === 'http.server' &&
1414
transactionEvent?.transaction === 'GET /test-transaction'

dev-packages/e2e-tests/test-applications/node-hapi-app/package.json renamed to dev-packages/e2e-tests/test-applications/node-hapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-hapi-app",
2+
"name": "node-hapi",
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {

dev-packages/e2e-tests/test-applications/node-fastify-app/start-event-proxy.ts renamed to dev-packages/e2e-tests/test-applications/node-hapi/start-event-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
22

33
startEventProxyServer({
44
port: 3031,
5-
proxyServerName: 'node-fastify-app',
5+
proxyServerName: 'node-hapi',
66
});

dev-packages/e2e-tests/test-applications/node-hapi-app/tests/server.test.ts renamed to dev-packages/e2e-tests/test-applications/node-hapi/tests/server.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends captured exception to Sentry', async ({ baseURL }) => {
4040
});
4141

4242
test('Sends thrown error to Sentry', async ({ baseURL }) => {
43-
const errorEventPromise = waitForError('node-hapi-app', errorEvent => {
43+
const errorEventPromise = waitForError('node-hapi', errorEvent => {
4444
return errorEvent?.exception?.values?.[0]?.value === 'This is an error';
4545
});
4646

@@ -81,7 +81,7 @@ test('Sends thrown error to Sentry', async ({ baseURL }) => {
8181
});
8282

8383
test('Sends successful transactions to Sentry', async ({ baseURL }) => {
84-
const pageloadTransactionEventPromise = waitForTransaction('node-hapi-app', transactionEvent => {
84+
const pageloadTransactionEventPromise = waitForTransaction('node-hapi', transactionEvent => {
8585
return (
8686
transactionEvent?.contexts?.trace?.op === 'hapi.request' && transactionEvent?.transaction === '/test-success'
8787
);
@@ -122,7 +122,7 @@ test('Sends successful transactions to Sentry', async ({ baseURL }) => {
122122
});
123123

124124
test('sends error with parameterized transaction name', async ({ baseURL }) => {
125-
const errorEventPromise = waitForError('node-hapi-app', errorEvent => {
125+
const errorEventPromise = waitForError('node-hapi', errorEvent => {
126126
return errorEvent?.exception?.values?.[0]?.value === 'This is an error with id 123';
127127
});
128128

@@ -136,7 +136,7 @@ test('sends error with parameterized transaction name', async ({ baseURL }) => {
136136
});
137137

138138
test('Sends parameterized transactions to Sentry', async ({ baseURL }) => {
139-
const pageloadTransactionEventPromise = waitForTransaction('node-hapi-app', transactionEvent => {
139+
const pageloadTransactionEventPromise = waitForTransaction('node-hapi', transactionEvent => {
140140
return (
141141
transactionEvent?.contexts?.trace?.op === 'hapi.request' &&
142142
transactionEvent?.transaction === '/test-param/{param}'

dev-packages/e2e-tests/test-applications/node-koa-app/package.json renamed to dev-packages/e2e-tests/test-applications/node-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-koa-app",
2+
"name": "node-koa",
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
2+
3+
startEventProxyServer({
4+
port: 3031,
5+
proxyServerName: 'node-koa',
6+
});

dev-packages/e2e-tests/test-applications/node-fastify-app/tests/errors.test.ts renamed to dev-packages/e2e-tests/test-applications/node-koa/tests/errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends exception to Sentry', async ({ baseURL }) => {
4040
});
4141

4242
test('Sends correct error event', async ({ baseURL }) => {
43-
const errorEventPromise = waitForError('node-fastify-app', event => {
43+
const errorEventPromise = waitForError('node-koa', event => {
4444
return !event.type && event.exception?.values?.[0]?.value === 'This is an exception with id 123';
4545
});
4646

dev-packages/e2e-tests/test-applications/node-koa-app/tests/propagation.test.ts renamed to dev-packages/e2e-tests/test-applications/node-koa/tests/propagation.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import axios from 'axios';
77
test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
88
const id = crypto.randomUUID();
99

10-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
10+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
1111
return (
1212
transactionEvent.contexts?.trace?.op === 'http.server' &&
1313
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-inbound-headers/${id}`
1414
);
1515
});
1616

17-
const outboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
17+
const outboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
1818
return (
1919
transactionEvent.contexts?.trace?.op === 'http.server' &&
2020
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-http/${id}`
@@ -121,14 +121,14 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
121121
test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
122122
const id = crypto.randomUUID();
123123

124-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
124+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
125125
return (
126126
transactionEvent?.contexts?.trace?.op === 'http.server' &&
127127
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-inbound-headers/${id}`
128128
);
129129
});
130130

131-
const outboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
131+
const outboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
132132
return (
133133
transactionEvent?.contexts?.trace?.op === 'http.server' &&
134134
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch/${id}`
@@ -233,7 +233,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
233233
});
234234

235235
test('Propagates trace for outgoing external http requests', async ({ baseURL }) => {
236-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
236+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
237237
return (
238238
transactionEvent?.contexts?.trace?.op === 'http.server' &&
239239
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 })
269269
});
270270

271271
test('Does not propagate outgoing http requests not covered by tracePropagationTargets', async ({ baseURL }) => {
272-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
272+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
273273
return (
274274
transactionEvent?.contexts?.trace?.op === 'http.server' &&
275275
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-http-external-disallowed`
@@ -292,7 +292,7 @@ test('Does not propagate outgoing http requests not covered by tracePropagationT
292292
});
293293

294294
test('Propagates trace for outgoing external fetch requests', async ({ baseURL }) => {
295-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
295+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
296296
return (
297297
transactionEvent?.contexts?.trace?.op === 'http.server' &&
298298
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch-external-allowed`
@@ -328,7 +328,7 @@ test('Propagates trace for outgoing external fetch requests', async ({ baseURL }
328328
});
329329

330330
test('Does not propagate outgoing fetch requests not covered by tracePropagationTargets', async ({ baseURL }) => {
331-
const inboundTransactionPromise = waitForTransaction('node-koa-app', transactionEvent => {
331+
const inboundTransactionPromise = waitForTransaction('node-koa', transactionEvent => {
332332
return (
333333
transactionEvent?.contexts?.trace?.op === 'http.server' &&
334334
transactionEvent.contexts?.trace?.data?.['http.target'] === `/test-outgoing-fetch-external-disallowed`

0 commit comments

Comments
 (0)