File tree Expand file tree Collapse file tree
packages/core/test/lib/tracing/spans Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
1111 SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION ,
1212 SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID ,
1313 SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME ,
14+ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
1415 SEMANTIC_ATTRIBUTE_USER_EMAIL ,
1516 SEMANTIC_ATTRIBUTE_USER_ID ,
1617 SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS ,
@@ -87,6 +88,10 @@ describe('captureSpan', () => {
8788 value : 'custom' ,
8889 type : 'string' ,
8990 } ,
91+ [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : {
92+ value : 'custom' ,
93+ type : 'string' ,
94+ } ,
9095 [ SEMANTIC_ATTRIBUTE_SENTRY_RELEASE ] : {
9196 value : '1.0.0' ,
9297 type : 'string' ,
@@ -177,6 +182,10 @@ describe('captureSpan', () => {
177182 value : 'custom' ,
178183 type : 'string' ,
179184 } ,
185+ [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : {
186+ value : 'custom' ,
187+ type : 'string' ,
188+ } ,
180189 [ SEMANTIC_ATTRIBUTE_SENTRY_RELEASE ] : {
181190 value : '1.0.0' ,
182191 type : 'string' ,
@@ -257,6 +266,10 @@ describe('captureSpan', () => {
257266 value : 'custom' ,
258267 type : 'string' ,
259268 } ,
269+ [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : {
270+ value : 'custom' ,
271+ type : 'string' ,
272+ } ,
260273 [ SEMANTIC_ATTRIBUTE_SENTRY_RELEASE ] : {
261274 value : '1.0.0' ,
262275 type : 'string' ,
You can’t perform that action at this time.
0 commit comments