Skip to content

Commit 8c6667b

Browse files
committed
remove end markers on describe blocks
1 parent 1551b95 commit 8c6667b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/tracing/test/hub.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('Hub', () => {
5353

5454
expect(hub.getScope()?.getTransaction()).toBeUndefined();
5555
});
56-
}); // end describe('getTransaction()')
56+
});
5757

5858
describe('transaction sampling', () => {
5959
describe('options', () => {
@@ -72,7 +72,7 @@ describe('Hub', () => {
7272

7373
expect(tracesSampler).toHaveBeenCalled();
7474
});
75-
}); // end describe('options')
75+
});
7676

7777
describe('default sample context', () => {
7878
it('should extract request data for default sampling context when in node', () => {
@@ -148,7 +148,7 @@ describe('Hub', () => {
148148

149149
expect(tracesSampler).toHaveBeenCalledWith(expect.objectContaining({ location: dogParkLocation }));
150150
});
151-
}); // end describe('defaultSampleContext')
151+
});
152152

153153
describe('while sampling', () => {
154154
it('should not sample transactions when tracing is disabled', () => {
@@ -217,7 +217,7 @@ describe('Hub', () => {
217217

218218
expect(logger.warn).toHaveBeenCalledWith(expect.stringContaining('Sample rate must be between 0 and 1'));
219219
});
220-
}); // end describe('while sampling')
220+
});
221221

222222
it('should propagate sampling decision to child spans', () => {
223223
const hub = new Hub(new BrowserClient({ tracesSampleRate: 0 }));
@@ -241,5 +241,5 @@ describe('Hub', () => {
241241
expect(transaction.finish).toReturnWith(undefined);
242242
expect(client.captureEvent).not.toBeCalled();
243243
});
244-
}); // end describe('transaction sampling')
245-
}); // end describe('Hub')
244+
});
245+
});

0 commit comments

Comments
 (0)