@@ -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 - f 0 - 9 ] { 16 } / ) ,
4949 status : 'ok' ,
5050 trace_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } / ) ,
@@ -57,7 +57,7 @@ test('should create a transaction for a CJS pages router API endpoint', async ({
5757 cookies : expect . any ( Object ) ,
5858 headers : expect . any ( Object ) ,
5959 method : 'GET' ,
60- url : expect . stringMatching ( / ^ h t t p . * \/ a p i \/ c j s - a p i - e n d p o i n t $ / ) ,
60+ url : expect . stringMatching ( / ^ \/ a p i \/ c j s - a p i - e n d p o i n t $ / ) ,
6161 } ,
6262 spans : expect . arrayContaining ( [ ] ) ,
6363 start_timestamp : expect . any ( Number ) ,
@@ -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 - f 0 - 9 ] { 16 } / ) ,
112112 status : 'ok' ,
113113 trace_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } / ) ,
@@ -120,7 +120,7 @@ test('should not mess up require statements in CJS API endpoints', async ({ requ
120120 cookies : expect . any ( Object ) ,
121121 headers : expect . any ( Object ) ,
122122 method : 'GET' ,
123- url : expect . stringMatching ( / ^ h t t p . * \/ a p i \/ c j s - a p i - e n d p o i n t - w i t h - r e q u i r e $ / ) ,
123+ url : expect . stringMatching ( / ^ \/ a p i \/ c j s - a p i - e n d p o i n t - w i t h - r e q u i r e $ / ) ,
124124 } ,
125125 spans : expect . arrayContaining ( [ ] ) ,
126126 start_timestamp : expect . any ( Number ) ,
0 commit comments