MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / scope.test.ts

File scope.test.ts

packages/node-core/test/light/scope.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2import * as Sentry from '../../src/light';
3import { cleanupLightSdk, mockLightSdkInit, resetGlobals } from '../helpers/mockLightSdkInit';
4

Callers

nothing calls this directly

Calls 12

cleanupLightSdkFunction · 0.90
mockLightSdkInitFunction · 0.90
resetGlobalsFunction · 0.90
setTimeoutFunction · 0.85
setTagMethod · 0.80
withScopeMethod · 0.80
getScopeDataMethod · 0.80
getIsolationScopeMethod · 0.80
setUserMethod · 0.80
flushMethod · 0.65
captureExceptionMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected