Skip to content

Commit e658aff

Browse files
committed
test
1 parent b0ae26d commit e658aff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/browser/src/sdk.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getCurrentScope } from '@sentry/core';
1+
import { getCurrentScope, withScope } from '@sentry/core';
22
import { functionToStringIntegration, inboundFiltersIntegration } from '@sentry/core';
33
import {
44
captureSession,
@@ -157,6 +157,11 @@ export function init(browserOptions: BrowserOptions = {}): void {
157157

158158
initAndBind(BrowserClient, clientOptions);
159159

160+
// tmp test
161+
getCurrentScope();
162+
// eslint-disable-next-line @typescript-eslint/no-empty-function
163+
withScope(() => {});
164+
160165
if (options.autoSessionTracking) {
161166
startSessionTracking();
162167
}

0 commit comments

Comments
 (0)