Skip to content

Commit c776409

Browse files
Lms24claude
andcommitted
test(tanstackstart-react): Update static e2e assertions for function span attributes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent b6cd79a commit c776409

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎dev-packages/e2e-tests/test-applications/tanstackstart-react-static/tests/transaction.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ test('Sends a server function transaction with auto-instrumentation', async ({ p
3333
data: {
3434
'sentry.op': 'function',
3535
'sentry.origin': 'auto.function.tanstackstart.server',
36+
'code.function.name': 'testLog',
37+
'http.request.method': 'GET',
3638
'tanstackstart.function.id': expect.any(String),
3739
'tanstackstart.function.filename': 'src/routes/test-serverFn.tsx',
3840
},
@@ -72,6 +74,8 @@ test('Sends a server function transaction for a nested server function only if i
7274
data: {
7375
'sentry.op': 'function',
7476
'sentry.origin': 'auto.function.tanstackstart.server',
77+
'code.function.name': 'testNestedLog',
78+
'http.request.method': 'GET',
7579
'tanstackstart.function.id': expect.any(String),
7680
'tanstackstart.function.filename': 'src/routes/test-serverFn.tsx',
7781
},

0 commit comments

Comments
 (0)