(file: string, text: string, symbol?: string)
| 6 | import type { Chunk, ScoredChunk } from '../src/context/retrieval.js'; |
| 7 | |
| 8 | function chunk(file: string, text: string, symbol?: string): Chunk { |
| 9 | return { file, startLine: 1, endLine: 10, text, hash: file, symbol }; |
| 10 | } |
| 11 | |
| 12 | describe('tokenizeForSearch', () => { |
| 13 | it('splits camelCase and snake_case into sub-words', () => { |