File tree 1 file changed +3
-3
lines changed
packages/core/test/lib/tracing
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ describe('startSpan', () => {
404
404
const rawSpan1 = startInactiveSpan ( { name : 'pageload_span' } ) ;
405
405
406
406
// @ts -expect-error links exists on span
407
- expect ( rawSpan1 ?. links ) . toEqual ( [ ] ) ;
407
+ expect ( rawSpan1 ?. links ) . toEqual ( undefined ) ;
408
408
409
409
const span1JSON = spanToJSON ( rawSpan1 ) ;
410
410
@@ -939,7 +939,7 @@ describe('startSpanManual', () => {
939
939
const rawSpan1 = startInactiveSpan ( { name : 'pageload_span' } ) ;
940
940
941
941
// @ts -expect-error links exists on span
942
- expect ( rawSpan1 ?. links ) . toEqual ( [ ] ) ;
942
+ expect ( rawSpan1 ?. links ) . toEqual ( undefined ) ;
943
943
944
944
const span1JSON = spanToJSON ( rawSpan1 ) ;
945
945
@@ -1393,7 +1393,7 @@ describe('startInactiveSpan', () => {
1393
1393
origin : 'manual' ,
1394
1394
} ,
1395
1395
} ) ;
1396
- expect ( innerTransaction ?. spans ) . toEqual ( [ ] ) ;
1396
+ expect ( innerTransaction ?. spans ) . toEqual ( undefined ) ;
1397
1397
expect ( innerTransaction ?. transaction ) . toEqual ( 'inner transaction' ) ;
1398
1398
expect ( innerTransaction ?. sdkProcessingMetadata ) . toEqual ( {
1399
1399
dynamicSamplingContext : {
You can’t perform that action at this time.
0 commit comments