Skip to content

Commit

Permalink
test(nextjs): Adjust test for origin (#13985)
Browse files Browse the repository at this point in the history
I assume this is due to
#13763
  • Loading branch information
lforst authored Oct 15, 2024
1 parent b8162ae commit 83d90f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('Sends a transaction for a request to app router', async ({ page }) => {
expect(transactionEvent.contexts?.trace).toEqual({
data: expect.objectContaining({
'sentry.op': 'http.server',
'sentry.origin': 'auto',
'sentry.origin': expect.stringMatching(/^(auto|auto\.http\.otel\.http)$/),
'sentry.sample_rate': 1,
'sentry.source': 'route',
'http.method': 'GET',
Expand All @@ -27,7 +27,7 @@ test('Sends a transaction for a request to app router', async ({ page }) => {
'otel.kind': 'SERVER',
}),
op: 'http.server',
origin: 'auto',
origin: expect.stringMatching(/^(auto|auto\.http\.otel\.http)$/),
span_id: expect.any(String),
status: 'ok',
trace_id: expect.any(String),
Expand Down

0 comments on commit 83d90f7

Please sign in to comment.