@@ -53,7 +53,7 @@ describe('Hub', () => {
53
53
54
54
expect ( hub . getScope ( ) ?. getTransaction ( ) ) . toBeUndefined ( ) ;
55
55
} ) ;
56
- } ) ; // end describe('getTransaction()')
56
+ } ) ;
57
57
58
58
describe ( 'transaction sampling' , ( ) => {
59
59
describe ( 'options' , ( ) => {
@@ -72,7 +72,7 @@ describe('Hub', () => {
72
72
73
73
expect ( tracesSampler ) . toHaveBeenCalled ( ) ;
74
74
} ) ;
75
- } ) ; // end describe('options')
75
+ } ) ;
76
76
77
77
describe ( 'default sample context' , ( ) => {
78
78
it ( 'should extract request data for default sampling context when in node' , ( ) => {
@@ -148,7 +148,7 @@ describe('Hub', () => {
148
148
149
149
expect ( tracesSampler ) . toHaveBeenCalledWith ( expect . objectContaining ( { location : dogParkLocation } ) ) ;
150
150
} ) ;
151
- } ) ; // end describe('defaultSampleContext')
151
+ } ) ;
152
152
153
153
describe ( 'while sampling' , ( ) => {
154
154
it ( 'should not sample transactions when tracing is disabled' , ( ) => {
@@ -217,7 +217,7 @@ describe('Hub', () => {
217
217
218
218
expect ( logger . warn ) . toHaveBeenCalledWith ( expect . stringContaining ( 'Sample rate must be between 0 and 1' ) ) ;
219
219
} ) ;
220
- } ) ; // end describe('while sampling')
220
+ } ) ;
221
221
222
222
it ( 'should propagate sampling decision to child spans' , ( ) => {
223
223
const hub = new Hub ( new BrowserClient ( { tracesSampleRate : 0 } ) ) ;
@@ -241,5 +241,5 @@ describe('Hub', () => {
241
241
expect ( transaction . finish ) . toReturnWith ( undefined ) ;
242
242
expect ( client . captureEvent ) . not . toBeCalled ( ) ;
243
243
} ) ;
244
- } ) ; // end describe('transaction sampling')
245
- } ) ; // end describe('Hub')
244
+ } ) ;
245
+ } ) ;
0 commit comments