Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
function
createMockSpan(): Span {
8
return
{} as Span;
9
}
10
11
describe(
'tracing utils'
, () => {
12
describe(
'setCapturedScopesOnSpan / getCapturedScopesOnSpan'
, () => {
Callers
1
utils.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected