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

File scope.test.ts

packages/node-core/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 { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
3import * as Sentry from '../../src/';
4import { cleanupOtel, mockSdkInit, resetGlobals } from '../helpers/mockSdkInit';

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
startSpanMethod · 0.45

Tested by

no test coverage detected