@@ -133,7 +133,7 @@ describe('hubextensions', () => {
133133 transaction . finish ( ) ;
134134
135135 await Sentry . flush ( 1000 ) ;
136- expect ( logSpy . mock ?. [ logSpy . mock . calls . length - 1 ] ?. [ 0 ] ) . toBe ( '[Profiling] Discarding profile because it contains less than 2 samples' ) ;
136+ expect ( logSpy . mock ?. [ logSpy . mock . calls . length - 1 ] ?. [ 0 ] ) . toBe ( '[Profiling] Discarding profile because it contains less than 2 samples' ) ;
137137
138138 expect ( ( transport . send as any ) . mock . calls [ 0 ] [ 0 ] [ 1 ] [ 0 ] [ 0 ] . type ) . toBe ( 'transaction' ) ;
139139 // eslint-disable-next-line @typescript-eslint/unbound-method
@@ -199,7 +199,7 @@ describe('hubextensions', () => {
199199 await Sentry . flush ( 1000 ) ;
200200
201201 expect ( startProfilingSpy ) . toHaveBeenCalledTimes ( 1 ) ;
202- expect ( ( stopProfilingSpy . mock [ stopProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
202+ expect ( ( stopProfilingSpy . mock [ stopProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
203203 } ) ;
204204
205205 it ( 'sends profile in the same envelope as transaction' , async ( ) => {
@@ -310,7 +310,7 @@ describe('hubextensions', () => {
310310 await Sentry . flush ( 1000 ) ;
311311
312312 expect ( startProfilingSpy ) . toHaveBeenCalledTimes ( 1 ) ;
313- expect ( ( stopProfilingSpy . mock [ startProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
313+ expect ( ( stopProfilingSpy . mock [ startProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
314314 } ) ;
315315
316316 it ( 'sends profile in separate envelope' , async ( ) => {
@@ -353,7 +353,7 @@ describe('hubextensions', () => {
353353 jest . advanceTimersByTime ( 30001 ) ;
354354
355355 expect ( stopProfilingSpy ) . toHaveBeenCalledTimes ( 1 ) ;
356- expect ( ( stopProfilingSpy . mock . calls [ startProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
356+ expect ( ( stopProfilingSpy . mock . calls [ startProfilingSpy . mock . calls . length - 1 ] ?. [ 0 ] as string ) . length ) . toBe ( 32 ) ;
357357
358358 transaction . finish ( ) ;
359359 expect ( stopProfilingSpy ) . toHaveBeenCalledTimes ( 1 ) ;
0 commit comments