MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / __redactEventForTests

Function __redactEventForTests

src/utils/sentry.ts:122–125  ·  view source on GitHub ↗
(event: Sentry.Event)

Source from the content-addressed store, hash-verified

120}
121
122export function __redactEventForTests(event: Sentry.Event): Sentry.Event {
123 const clone = structuredClone(event);
124 return redactEvent(clone as Sentry.ErrorEvent) as Sentry.Event;
125}
126
127export function __redactLogForTests(log: Sentry.Log): Sentry.Log | null {
128 const clone = structuredClone(log);

Callers 1

Calls 1

redactEventFunction · 0.85

Tested by

no test coverage detected