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

File traceLinks.test.ts

packages/cloudflare/test/traceLinks.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TraceFlags } from '@opentelemetry/api';
2import * as sentryCore from '@sentry/core';
3import { beforeEach, describe, expect, it, vi } from 'vitest';
4import { buildSpanLinks, getStoredSpanContext, getTraceLinkKey, storeSpanContext } from '../src/utils/traceLinks';

Callers

nothing calls this directly

Calls 5

getTraceLinkKeyFunction · 0.90
storeSpanContextFunction · 0.90
getStoredSpanContextFunction · 0.90
buildSpanLinksFunction · 0.90
createMockStorageFunction · 0.70

Tested by

no test coverage detected