MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / sdk.test.ts

File sdk.test.ts

packages/sveltekit/test/client/sdk.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { BrowserClient } from '@sentry/svelte';
2import * as SentrySvelte from '@sentry/svelte';
3import { getClient, getCurrentScope, getGlobalScope, getIsolationScope, SDK_VERSION } from '@sentry/svelte';
4import { afterEach, describe, expect, it, vi } from 'vitest';

Callers

nothing calls this directly

Calls 8

initFunction · 0.90
setClientMethod · 0.80
clearMethod · 0.65
getGlobalScopeFunction · 0.50
getIsolationScopeFunction · 0.50
getCurrentScopeFunction · 0.50
getClientFunction · 0.50
getIntegrationByNameMethod · 0.45

Tested by

no test coverage detected