Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f26d8e8

Browse files
committed
moar test fixes
1 parent d90b2e3 commit f26d8e8

File tree

15 files changed

+18
-18
lines changed

15 files changed

+18
-18
lines changed

‎dev-packages/e2e-tests/test-applications/nestjs-11/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ test('API route transaction includes nest pipe span for invalid request', async
339339
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
340340
start_timestamp: expect.any(Number),
341341
timestamp: expect.any(Number),
342-
status: 'unknown_error',
342+
status: 'internal_error',
343343
op: 'middleware.nestjs',
344344
origin: 'auto.middleware.nestjs',
345345
},

‎dev-packages/e2e-tests/test-applications/nestjs-8/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ test('API route transaction includes nest pipe span for invalid request', async
343343
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
344344
start_timestamp: expect.any(Number),
345345
timestamp: expect.any(Number),
346-
status: 'unknown_error',
346+
status: 'internal_error',
347347
op: 'middleware.nestjs',
348348
origin: 'auto.middleware.nestjs',
349349
},

‎dev-packages/e2e-tests/test-applications/nestjs-basic/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ test('API route transaction includes nest pipe span for invalid request', async
339339
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
340340
start_timestamp: expect.any(Number),
341341
timestamp: expect.any(Number),
342-
status: 'unknown_error',
342+
status: 'internal_error',
343343
op: 'middleware.nestjs',
344344
origin: 'auto.middleware.nestjs',
345345
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ test('API route transaction includes nest pipe span for invalid request', async
385385
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
386386
start_timestamp: expect.any(Number),
387387
timestamp: expect.any(Number),
388-
status: 'unknown_error',
388+
status: 'internal_error',
389389
op: 'middleware.nestjs',
390390
origin: 'auto.middleware.nestjs',
391391
},

‎dev-packages/e2e-tests/test-applications/nextjs-app-dir/tests/route-handlers.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ test.describe('Edge runtime', () => {
112112
expect(routehandlerError.tags?.['my-isolated-tag']).toBe(true);
113113
expect(routehandlerError.tags?.['my-global-scope-isolated-tag']).not.toBeDefined();
114114

115-
expect(routehandlerTransaction.contexts?.trace?.status).toBe('unknown_error');
115+
expect(routehandlerTransaction.contexts?.trace?.status).toBe('internal_error');
116116
expect(routehandlerTransaction.contexts?.trace?.op).toBe('http.server');
117117

118118
expect(routehandlerError.exception?.values?.[0].value).toBe('route-handler-edge-error');

‎dev-packages/e2e-tests/test-applications/nextjs-pages-dir/tests/edge-route.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test('Faulty edge routes', async ({ request }) => {
4848
]);
4949

5050
test.step('should create transactions with the right fields', () => {
51-
expect(edgerouteTransaction.contexts?.trace?.status).toBe('unknown_error');
51+
expect(edgerouteTransaction.contexts?.trace?.status).toBe('internal_error');
5252
expect(edgerouteTransaction.contexts?.trace?.op).toBe('http.server');
5353
});
5454

‎dev-packages/e2e-tests/test-applications/nextjs-pages-dir/tests/middleware.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test('Faulty middlewares', async ({ request }) => {
3636

3737
await test.step('should record transactions', async () => {
3838
const middlewareTransaction = await middlewareTransactionPromise;
39-
expect(middlewareTransaction.contexts?.trace?.status).toBe('unknown_error');
39+
expect(middlewareTransaction.contexts?.trace?.status).toBe('internal_error');
4040
expect(middlewareTransaction.contexts?.trace?.op).toBe('http.server.middleware');
4141
expect(middlewareTransaction.contexts?.runtime?.name).toBe('vercel-edge');
4242
expect(middlewareTransaction.transaction_info?.source).toBe('url');

‎dev-packages/e2e-tests/test-applications/node-express/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ test('Sends an API route transaction for an errored route', async ({ baseURL })
209209
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
210210
span_id: expect.stringMatching(/[a-f0-9]{16}/),
211211
start_timestamp: expect.any(Number),
212-
status: 'unknown_error',
212+
status: 'internal_error',
213213
timestamp: expect.any(Number),
214214
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
215215
measurements: {},

‎dev-packages/e2e-tests/test-applications/node-otel-sdk-node/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ test('Sends an API route transaction for an errored route', async ({ baseURL })
203203
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
204204
span_id: expect.stringMatching(/[a-f0-9]{16}/),
205205
start_timestamp: expect.any(Number),
206-
status: 'unknown_error',
206+
status: 'internal_error',
207207
timestamp: expect.any(Number),
208208
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
209209
measurements: {},

‎dev-packages/e2e-tests/test-applications/node-otel/tests/transactions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ test('Sends an API route transaction for an errored route', async ({ baseURL })
203203
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
204204
span_id: expect.stringMatching(/[a-f0-9]{16}/),
205205
start_timestamp: expect.any(Number),
206-
status: 'unknown_error',
206+
status: 'internal_error',
207207
timestamp: expect.any(Number),
208208
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
209209
measurements: {},

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /