MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getCurrentScope

Function getCurrentScope

packages/react/test/redux.test.ts:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11vi.mock('@sentry/core/browser', async requireActual => ({
12 ...(await requireActual()),
13 getCurrentScope() {
14 return {
15 setContext: mockSetContext,
16 };
17 },
18 getGlobalScope() {
19 return {
20 addEventProcessor: mockGlobalScopeAddEventProcessor,

Callers 15

clientSdk.test.tsFile · 0.90
showReportDialogFunction · 0.50
startProfileForSpanFunction · 0.50
_createRouteSpanFunction · 0.50
setupFunction · 0.50
setActiveSpanInBrowserFunction · 0.50
linkTracesFunction · 0.50
sentryWrapReducerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected