File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev-packages/e2e-tests/test-applications/nextjs-13/tests/server Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
2222test ( '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} ) ;
You can’t perform that action at this time.
0 commit comments