(filePath: string)
| 3116 | // `affected` reported "no tests" for whole ecosystems while `search` and |
| 3117 | // the MCP tools counted those very files as tests. |
| 3118 | function isTestFile(filePath: string): boolean { |
| 3119 | if (customFilter) return customFilter(filePath); |
| 3120 | return isTestPath(filePath); |
| 3121 | } |
| 3122 | |
| 3123 | // BFS to find all transitive dependents of changed files, filtered to test files |
| 3124 | const affectedTests = new Set<string>(); |