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

File scope.test.ts

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

Source from the content-addressed store, hash-verified

1import { getCapturedScopesOnSpan, getCurrentScope } from '@sentry/core';
2import { getClient } from '@sentry/opentelemetry';
3import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
4import * as Sentry from '../../src/';

Callers

nothing calls this directly

Calls 15

cleanupOtelFunction · 0.90
mockSdkInitFunction · 0.90
getCurrentScopeFunction · 0.90
getCapturedScopesOnSpanFunction · 0.90
resetGlobalsFunction · 0.90
setTagMethod · 0.80
withScopeMethod · 0.80
getScopeDataMethod · 0.80
getIsolationScopeMethod · 0.80
spanContextMethod · 0.65
flushMethod · 0.65
getClientFunction · 0.50

Tested by

no test coverage detected