Skip to content

Commit f70062a

Browse files
committed
rename to outer span
1 parent beed714 commit f70062a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-packages/node-integration-tests/suites/tracing/vercelai/scenario-error.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { z } from 'zod';
55

66
async function run() {
77
// Create a manual outer span (simulating the root span)
8-
await Sentry.startSpan({ op: 'http.server', name: 'GET /api/test', description: 'HTTP server request' }, async () => {
8+
await Sentry.startSpan({ op: 'outer', name: 'outer span', description: 'outer span' }, async () => {
99
// It is expected that the error will bubble up naturally to the outer span
1010
await generateText({
1111
model: new MockLanguageModelV1({

dev-packages/node-integration-tests/suites/tracing/vercelai/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ describe('Vercel AI integration', () => {
426426
.expect({
427427
transaction: (transaction: any) => {
428428
capturedTransaction = transaction;
429-
expect(transaction.transaction).toBe('GET /api/test');
429+
expect(transaction.transaction).toBe('outer span');
430430
},
431431
})
432432
.expect({

0 commit comments

Comments
 (0)