(score: number, filePath: string)
| 22 | })); |
| 23 | |
| 24 | function makeResult(score: number, filePath: string): SearchResult { |
| 25 | return { |
| 26 | summary: `Result from ${filePath}`, |
| 27 | snippet: 'export class Foo {}', |
| 28 | filePath, |
| 29 | startLine: 1, |
| 30 | endLine: 10, |
| 31 | score, |
| 32 | language: 'typescript', |
| 33 | metadata: {} |
| 34 | } as SearchResult; |
| 35 | } |
| 36 | |
| 37 | describe('reranker corruption recovery', () => { |
| 38 | let tempCacheRoot: string | null = null; |
no outgoing calls
no test coverage detected