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