1
1
import { BrowserClient } from '@sentry/browser' ;
2
2
import { Hub , makeMain , Scope } from '@sentry/hub' ;
3
+ import { BaseTransportOptions , ClientOptions } from '@sentry/types' ;
3
4
import { createBaggage , getSentryBaggageItems , getThirdPartyBaggage , isSentryBaggageEmpty } from '@sentry/utils' ;
4
5
5
6
import { Span , Transaction } from '../src' ;
6
7
import { TRACEPARENT_REGEXP } from '../src/utils' ;
7
8
import { getDefaultBrowserClientOptions } from './testutils' ;
8
- import { BaseTransportOptions , ClientOptions } from '@sentry/types' ;
9
9
10
10
describe ( 'Span' , ( ) => {
11
11
let hub : Hub ;
@@ -395,7 +395,7 @@ describe('Span', () => {
395
395
396
396
describe ( 'getBaggage and _getBaggageWithSentryValues' , ( ) => {
397
397
beforeEach ( ( ) => {
398
- hub . getClient ( ) ! ! . getOptions = ( ) => {
398
+ hub . getClient ( ) ! . getOptions = ( ) => {
399
399
return {
400
400
release : '1.0.1' ,
401
401
environment : 'production' ,
@@ -412,7 +412,7 @@ describe('Span', () => {
412
412
hub ,
413
413
) ;
414
414
415
- const hubSpy = jest . spyOn ( hub . getClient ( ) ! ! , 'getOptions' ) ;
415
+ const hubSpy = jest . spyOn ( hub . getClient ( ) ! , 'getOptions' ) ;
416
416
417
417
const span = transaction . startChild ( ) ;
418
418
@@ -433,7 +433,7 @@ describe('Span', () => {
433
433
hub ,
434
434
) ;
435
435
436
- const hubSpy = jest . spyOn ( hub . getClient ( ) ! ! , 'getOptions' ) ;
436
+ const hubSpy = jest . spyOn ( hub . getClient ( ) ! , 'getOptions' ) ;
437
437
438
438
const span = transaction . startChild ( ) ;
439
439
0 commit comments