MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / isDiagnosticTestFailure

Function isDiagnosticTestFailure

src/snapshot-tests/json-normalize.ts:327–336  ·  view source on GitHub ↗
(
  value: unknown,
)

Source from the content-addressed store, hash-verified

325}
326
327function isDiagnosticTestFailure(
328 value: unknown,
329): value is { suite?: unknown; test: string; message: string; location: string } {
330 return (
331 isRecord(value) &&
332 typeof value.test === 'string' &&
333 typeof value.message === 'string' &&
334 typeof value.location === 'string'
335 );
336}
337
338function normalizeDiagnosticTestFailure(item: unknown): unknown {
339 if (!isDiagnosticTestFailure(item)) {

Callers 1

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected