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

Function normalizeTestFailureLocation

src/utils/xcodebuild-run-state.ts:51–58  ·  view source on GitHub ↗
(location: string | undefined)

Source from the content-addressed store, hash-verified

49}
50
51function normalizeTestFailureLocation(location: string | undefined): string | null {
52 if (!location) {
53 return null;
54 }
55
56 const match = location.match(/([^/]+:\d+(?::\d+)?)$/u);
57 return (match?.[1] ?? location).trim().toLowerCase();
58}
59
60function normalizeTestFailureMessage(message: string): string {
61 const lines = message

Callers 1

normalizeTestFailureKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected