Skip to content

Commit 949da51

Browse files
committed
test: fix weird AI assertions
1 parent 7dde846 commit 949da51

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
const transaction = await transactionPromise;
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
const transaction = await transactionPromise;
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)