File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
packages/core/test/lib/tracing Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -75,26 +75,6 @@ describe('SentrySpan', () => {
7575 expect ( serialized ) . toHaveProperty ( 'span_id' , 'd' ) ;
7676 expect ( serialized ) . toHaveProperty ( 'trace_id' , 'c' ) ;
7777 } ) ;
78-
79- test ( 'should drop all `undefined` values' , ( ) => {
80- const spanA = new SentrySpan ( { traceId : 'a' , spanId : 'b' } ) ;
81- const spanB = new SentrySpan ( {
82- parentSpanId : spanA . spanContext ( ) . spanId ,
83- spanId : 'd' ,
84- traceId : 'c' ,
85- } ) ;
86- const serialized = spanToJSON ( spanB ) ;
87- expect ( serialized ) . toStrictEqual ( {
88- start_timestamp : expect . any ( Number ) ,
89- parent_span_id : 'b' ,
90- span_id : 'd' ,
91- trace_id : 'c' ,
92- origin : 'manual' ,
93- data : {
94- 'sentry.origin' : 'manual' ,
95- } ,
96- } ) ;
97- } ) ;
9878 } ) ;
9979
10080 describe ( 'end' , ( ) => {
You can’t perform that action at this time.
0 commit comments