(filePath: string)
| 9 | } |
| 10 | |
| 11 | export function isTestArtifactPath(filePath: string): boolean { |
| 12 | const normalized = filePath.toLowerCase().replace(/\\/g, '/'); |
| 13 | return ( |
| 14 | normalized.includes('.spec.') || |
| 15 | normalized.includes('.test.') || |
| 16 | normalized.includes('/e2e/') || |
| 17 | normalized.includes('/__tests__/') |
| 18 | ); |
| 19 | } |
| 20 | |
| 21 | export function assessSearchQuality( |
| 22 | query: string, |
no outgoing calls
no test coverage detected