(filePath: string)
| 3063 | // `affected` reported "no tests" for whole ecosystems while `search` and |
| 3064 | // the MCP tools counted those very files as tests. |
| 3065 | function isTestFile(filePath: string): boolean { |
| 3066 | if (customFilter) return customFilter(filePath); |
| 3067 | return isTestPath(filePath); |
| 3068 | } |
| 3069 | |
| 3070 | // BFS to find all transitive dependents of changed files, filtered to test files |
| 3071 | const affectedTests = new Set<string>(); |