Skip to content

Commit fccd385

Browse files
committed
test: update expectations and fix lint issues
1 parent 420af8a commit fccd385

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev-packages/e2e-tests/test-applications/create-next-app/tests/server-transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ test('Sends server-side transactions to Sentry', async ({ baseURL }) => {
2222
span_id: expect.stringMatching(/[a-f0-9]{16}/),
2323
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
2424
op: 'http.server',
25-
origin: 'auto.http.nextjs',
25+
origin: 'auto',
2626
data: expect.objectContaining({
2727
'http.response.status_code': 200,
2828
'sentry.op': 'http.server',
29-
'sentry.origin': 'auto.http.nextjs',
29+
'sentry.origin': 'auto',
3030
'sentry.sample_rate': 1,
3131
'sentry.source': 'route',
3232
}),

packages/nextjs/src/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,5 @@ function sdkAlreadyInitialized(): boolean {
431431

432432
export * from '../common';
433433

434+
// eslint-disable-next-line max-lines
434435
export { wrapApiHandlerWithSentry } from '../common/pages-router-instrumentation/wrapApiHandlerWithSentry';

0 commit comments

Comments
 (0)