@@ -333,7 +333,7 @@ describe('startSpan', () => {
333333 expect ( getActiveSpan ( ) ) . toBe ( undefined ) ;
334334 } ) ;
335335
336- it ( 'allows to force a transaction with isTransaction =true' , async ( ) => {
336+ it ( 'allows to force a transaction with forceTransaction =true' , async ( ) => {
337337 const options = getDefaultTestClientOptions ( { tracesSampleRate : 1.0 } ) ;
338338 client = new TestClient ( options ) ;
339339 setCurrentClient ( client ) ;
@@ -350,7 +350,7 @@ describe('startSpan', () => {
350350
351351 startSpan ( { name : 'outer transaction' } , ( ) => {
352352 startSpan ( { name : 'inner span' } , ( ) => {
353- startSpan ( { name : 'inner transaction' , isTransaction : true } , ( ) => {
353+ startSpan ( { name : 'inner transaction' , forceTransaction : true } , ( ) => {
354354 startSpan ( { name : 'inner span 2' } , ( ) => {
355355 // all good
356356 } ) ;
@@ -623,7 +623,7 @@ describe('startSpanManual', () => {
623623 expect ( getActiveSpan ( ) ) . toBe ( undefined ) ;
624624 } ) ;
625625
626- it ( 'allows to force a transaction with isTransaction =true' , async ( ) => {
626+ it ( 'allows to force a transaction with forceTransaction =true' , async ( ) => {
627627 const options = getDefaultTestClientOptions ( { tracesSampleRate : 1.0 } ) ;
628628 client = new TestClient ( options ) ;
629629 setCurrentClient ( client ) ;
@@ -640,7 +640,7 @@ describe('startSpanManual', () => {
640640
641641 startSpanManual ( { name : 'outer transaction' } , span => {
642642 startSpanManual ( { name : 'inner span' } , span => {
643- startSpanManual ( { name : 'inner transaction' , isTransaction : true } , span => {
643+ startSpanManual ( { name : 'inner transaction' , forceTransaction : true } , span => {
644644 startSpanManual ( { name : 'inner span 2' } , span => {
645645 // all good
646646 span ?. end ( ) ;
@@ -852,7 +852,7 @@ describe('startInactiveSpan', () => {
852852 expect ( getActiveSpan ( ) ) . toBeUndefined ( ) ;
853853 } ) ;
854854
855- it ( 'allows to force a transaction with isTransaction =true xxx' , async ( ) => {
855+ it ( 'allows to force a transaction with forceTransaction =true xxx' , async ( ) => {
856856 const options = getDefaultTestClientOptions ( { tracesSampleRate : 1.0 } ) ;
857857 client = new TestClient ( options ) ;
858858 setCurrentClient ( client ) ;
@@ -869,7 +869,7 @@ describe('startInactiveSpan', () => {
869869
870870 startSpan ( { name : 'outer transaction' } , ( ) => {
871871 startSpan ( { name : 'inner span' } , ( ) => {
872- const innerTransaction = startInactiveSpan ( { name : 'inner transaction' , isTransaction : true } ) ;
872+ const innerTransaction = startInactiveSpan ( { name : 'inner transaction' , forceTransaction : true } ) ;
873873 innerTransaction ?. end ( ) ;
874874 } ) ;
875875 } ) ;
0 commit comments