(filePath: string)
| 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>(); |