@@ -20,6 +20,7 @@ describe('getDynamicSamplingContextFromSpan', () => {
2020 } ) ;
2121
2222 test ( 'returns the DSC provided during transaction creation' , ( ) => {
23+ // eslint-disable-next-line deprecation/deprecation
2324 const transaction = new Transaction ( {
2425 name : 'tx' ,
2526 metadata : { dynamicSamplingContext : { environment : 'myEnv' } } ,
@@ -67,6 +68,7 @@ describe('getDynamicSamplingContextFromSpan', () => {
6768 } ) ;
6869
6970 test ( 'returns a new DSC, if no DSC was provided during transaction creation (via new Txn and deprecated metadata)' , ( ) => {
71+ // eslint-disable-next-line deprecation/deprecation
7072 const transaction = new Transaction ( {
7173 name : 'tx' ,
7274 metadata : {
@@ -90,6 +92,7 @@ describe('getDynamicSamplingContextFromSpan', () => {
9092
9193 describe ( 'Including transaction name in DSC' , ( ) => {
9294 test ( 'is not included if transaction source is url' , ( ) => {
95+ // eslint-disable-next-line deprecation/deprecation
9396 const transaction = new Transaction ( {
9497 name : 'tx' ,
9598 metadata : {
@@ -106,6 +109,7 @@ describe('getDynamicSamplingContextFromSpan', () => {
106109 [ 'is included if transaction source is parameterized route/url' , 'route' ] ,
107110 [ 'is included if transaction source is a custom name' , 'custom' ] ,
108111 ] ) ( '%s' , ( _ : string , source ) => {
112+ // eslint-disable-next-line deprecation/deprecation
109113 const transaction = new Transaction ( {
110114 name : 'tx' ,
111115 metadata : {
0 commit comments