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

File sdk.test.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 9

cleanupLightSdkFunction · 0.90
mockLightSdkInitFunction · 0.90
resetGlobalsFunction · 0.90
getScopeDataMethod · 0.80
getOptionsMethod · 0.65
closeMethod · 0.65
flushMethod · 0.65
getClientMethod · 0.45
captureExceptionMethod · 0.45

Tested by

no test coverage detected