(file: string, text: string, startLine = 1, endLine = 10)
| 9 | } from '../src/context/retrieval.js'; |
| 10 | |
| 11 | function chunk(file: string, text: string, startLine = 1, endLine = 10): Chunk { |
| 12 | return { file, startLine, endLine, text, hash: text.slice(0, 8) }; |
| 13 | } |
| 14 | |
| 15 | describe('capTextForEmbedding', () => { |
| 16 | it('leaves short text untouched', () => { |
no outgoing calls
no test coverage detected