Skip to content

Commit 4538dfe

Browse files
committed
test: update next 13 assertions
1 parent 9c04b47 commit 4538dfe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dev-packages/e2e-tests/test-applications/nextjs-13/tests/server/cjs-api-endpoints.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ test('should create a transaction for a CJS pages router API endpoint', async ({
3939
data: {
4040
'http.response.status_code': 200,
4141
'sentry.op': 'http.server',
42-
'sentry.origin': 'auto.http.nextjs',
42+
'sentry.origin': 'auto',
4343
'sentry.sample_rate': 1,
4444
'sentry.source': 'route',
4545
},
4646
op: 'http.server',
47-
origin: 'auto.http.nextjs',
47+
origin: 'auto',
4848
span_id: expect.stringMatching(/[a-f0-9]{16}/),
4949
status: 'ok',
5050
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
@@ -102,12 +102,12 @@ test('should not mess up require statements in CJS API endpoints', async ({ requ
102102
data: {
103103
'http.response.status_code': 200,
104104
'sentry.op': 'http.server',
105-
'sentry.origin': 'auto.http.nextjs',
105+
'sentry.origin': 'auto',
106106
'sentry.sample_rate': 1,
107107
'sentry.source': 'route',
108108
},
109109
op: 'http.server',
110-
origin: 'auto.http.nextjs',
110+
origin: 'auto',
111111
span_id: expect.stringMatching(/[a-f0-9]{16}/),
112112
status: 'ok',
113113
trace_id: expect.stringMatching(/[a-f0-9]{32}/),

dev-packages/e2e-tests/test-applications/nextjs-13/tests/server/pages-router-api-endpoints.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ test('Should report a transaction event for a successful pages router api route'
9898
data: {
9999
'http.response.status_code': 200,
100100
'sentry.op': 'http.server',
101-
'sentry.origin': 'auto.http.nextjs',
101+
'sentry.origin': 'auto',
102102
'sentry.source': 'route',
103103
},
104104
op: 'http.server',
105-
origin: 'auto.http.nextjs',
105+
origin: 'auto',
106106
span_id: expect.stringMatching(/[a-f0-9]{16}/),
107107
status: 'ok',
108108
trace_id: expect.stringMatching(/[a-f0-9]{32}/),

0 commit comments

Comments
 (0)