File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/test/lib/tracing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ describe('startSpan', () => {
404404 const rawSpan1 = startInactiveSpan ( { name : 'pageload_span' } ) ;
405405
406406 // @ts -expect-error links exists on span
407- expect ( rawSpan1 ?. links ) . toEqual ( [ ] ) ;
407+ expect ( rawSpan1 ?. links ) . toEqual ( undefined ) ;
408408
409409 const span1JSON = spanToJSON ( rawSpan1 ) ;
410410
@@ -939,7 +939,7 @@ describe('startSpanManual', () => {
939939 const rawSpan1 = startInactiveSpan ( { name : 'pageload_span' } ) ;
940940
941941 // @ts -expect-error links exists on span
942- expect ( rawSpan1 ?. links ) . toEqual ( [ ] ) ;
942+ expect ( rawSpan1 ?. links ) . toEqual ( undefined ) ;
943943
944944 const span1JSON = spanToJSON ( rawSpan1 ) ;
945945
@@ -1393,7 +1393,7 @@ describe('startInactiveSpan', () => {
13931393 origin : 'manual' ,
13941394 } ,
13951395 } ) ;
1396- expect ( innerTransaction ?. spans ) . toEqual ( [ ] ) ;
1396+ expect ( innerTransaction ?. spans ) . toEqual ( undefined ) ;
13971397 expect ( innerTransaction ?. transaction ) . toEqual ( 'inner transaction' ) ;
13981398 expect ( innerTransaction ?. sdkProcessingMetadata ) . toEqual ( {
13991399 dynamicSamplingContext : {
You can’t perform that action at this time.
0 commit comments