MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isTestFile

Function isTestFile

src/bin/codegraph.ts:2969–2972  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

2967 // `affected` reported "no tests" for whole ecosystems while `search` and
2968 // the MCP tools counted those very files as tests.
2969 function isTestFile(filePath: string): boolean {
2970 if (customFilter) return customFilter(filePath);
2971 return isTestPath(filePath);
2972 }
2973
2974 // BFS to find all transitive dependents of changed files, filtered to test files
2975 const affectedTests = new Set<string>();

Callers 1

mainFunction · 0.70

Calls 1

isTestPathFunction · 0.90

Tested by

no test coverage detected