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

Function parseSelector

src/utils/test-preflight.ts:51–63  ·  view source on GitHub ↗
(raw: string)

Source from the content-addressed store, hash-verified

49}
50
51function parseSelector(raw: string): TestSelector | null {
52 const parts = raw.split('/').filter(Boolean);
53 if (parts.length === 0) {
54 return null;
55 }
56
57 return {
58 raw,
59 target: parts[0],
60 classOrSuite: parts[1],
61 method: normalizeSelectorMethodName(parts[2]),
62 };
63}
64
65function parseSelectors(
66 extraArgs: string[] | undefined,

Callers 1

parseSelectorsFunction · 0.85

Calls 1

Tested by

no test coverage detected