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

File bindScopeToEmitter.test.ts

packages/core/test/lib/tracing/bindScopeToEmitter.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { EventEmitter } from 'node:events';
2import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
3import { getCurrentScope, getGlobalScope, getIsolationScope, setCurrentClient, withScope } from '../../../src';
4import { Scope } from '../../../src/scope';

Callers

nothing calls this directly

Calls 15

getCurrentScopeFunction · 0.90
getIsolationScopeFunction · 0.90
getGlobalScopeFunction · 0.90
setCurrentClientFunction · 0.90
withScopeFunction · 0.90
bindScopeToEmitterFunction · 0.90
startInactiveSpanFunction · 0.90
withActiveSpanFunction · 0.90
getActiveSpanFunction · 0.90
listenerCountMethod · 0.80
dispatchEventMethod · 0.80

Tested by

no test coverage detected