Skip to content

Commit 0d32bf8

Browse files
mydeaandreiborza
authored andcommitted
test: Streamline E2E test app names (#11828)
No need to have the `-app` suffix there.
1 parent 59ad292 commit 0d32bf8

Some content is hidden

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

56 files changed

+59
-60
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ jobs:
995995
[
996996
'angular-17',
997997
'cloudflare-astro',
998-
'node-express-app',
998+
'node-express',
999999
'create-react-app',
10001000
'create-next-app',
10011001
'create-remix-app',
@@ -1015,13 +1015,12 @@ jobs:
10151015
'sveltekit-2',
10161016
'sveltekit-2-svelte-5',
10171017
'generic-ts3.8',
1018-
'node-fastify-app',
1019-
# TODO(v8): Re-enable hapi tests
1018+
'node-fastify',
10201019
'node-hapi',
1021-
'node-nestjs-app',
1020+
'node-nestjs',
10221021
'node-exports-test-app',
1023-
'node-koa-app',
1024-
'node-connect-app',
1022+
'node-koa',
1023+
'node-connect',
10251024
'vue-3',
10261025
'webpack-4',
10271026
'webpack-5'

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-nestjs-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-nestjs-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-connect-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-connect-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-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": {

dev-packages/e2e-tests/test-applications/node-fastify-app/start-event-proxy.ts renamed to dev-packages/e2e-tests/test-applications/node-koa/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-koa',
66
});

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`

dev-packages/e2e-tests/test-applications/node-koa-app/tests/transactions.test.ts renamed to dev-packages/e2e-tests/test-applications/node-koa/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-koa-app', transactionEvent => {
11+
const pageloadTransactionEventPromise = waitForTransaction('node-koa', transactionEvent => {
1212
return (
1313
transactionEvent?.contexts?.trace?.op === 'http.server' &&
1414
transactionEvent?.transaction === 'GET /test-transaction'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-nestjs-app",
2+
"name": "node-nestjs",
33
"version": "0.0.1",
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-nestjs',
6+
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test('Sends captured error to Sentry', async ({ baseURL }) => {
4242
});
4343

4444
test('Sends exception to Sentry', async ({ baseURL }) => {
45-
const errorEventPromise = waitForError('node-nestjs-app', event => {
45+
const errorEventPromise = waitForError('node-nestjs', event => {
4646
return !event.type && event.exception?.values?.[0]?.value === 'This is an exception with id 123';
4747
});
4848

0 commit comments

Comments
 (0)