MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / createMockSpan

Function createMockSpan

packages/core/test/lib/tracing/utils.test.ts:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6// Mock span object that implements the minimum needed interface
7function createMockSpan(): Span {
8 return {} as Span;
9}
10
11describe('tracing utils', () => {
12 describe('setCapturedScopesOnSpan / getCapturedScopesOnSpan', () => {

Callers 1

utils.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected