Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit949da51

Browse files
committed
test: fix weird AI assertions
1 parent7dde846 commit949da51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('should not apply build-time instrumentation for routes that were excluded
1616
consttransaction=awaittransactionPromise;
1717

1818
expect(transaction.contexts?.trace?.data?.['sentry.origin']).toBeDefined();
19-
expect(transaction.contexts?.trace?.data?.['sentry.origin']).not.toBe('auto.http.nextjs');// This is the origin set by the build time instrumentation
19+
expect(transaction.contexts?.trace?.data?.['sentry.origin']).toBe('auto');
2020
});
2121

2222
test('should not apply build-time instrumentation for routes that were excluded from auto wrapping (regex)',async({
@@ -34,5 +34,5 @@ test('should not apply build-time instrumentation for routes that were excluded
3434
consttransaction=awaittransactionPromise;
3535

3636
expect(transaction.contexts?.trace?.data?.['sentry.origin']).toBeDefined();
37-
expect(transaction.contexts?.trace?.data?.['sentry.origin']).not.toBe('auto.http.nextjs');// This is the origin set by the build time instrumentation
37+
expect(transaction.contexts?.trace?.data?.['sentry.origin']).toBe('auto');
3838
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp