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

Function normalizeSelectorMethodName

src/utils/test-preflight.ts:43–49  ·  view source on GitHub ↗
(method: string | undefined)

Source from the content-addressed store, hash-verified

41}
42
43function normalizeSelectorMethodName(method: string | undefined): string | undefined {
44 if (!method) {
45 return undefined;
46 }
47
48 return method.replace(/\(\)$/, '');
49}
50
51function parseSelector(raw: string): TestSelector | null {
52 const parts = raw.split('/').filter(Boolean);

Callers 1

parseSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected