(onDisk: readonly string[])
| 251 | describe('extractQueryPaths — dotless slashed spans, decided on disk', () => { |
| 252 | /** Records every span the predicate is asked about. */ |
| 253 | const probe = (onDisk: readonly string[]) => { |
| 254 | const asked: string[] = []; |
| 255 | return { |
| 256 | asked, |
| 257 | existsOnDisk: (rel: string) => { asked.push(rel); return onDisk.includes(rel); }, |
| 258 | }; |
| 259 | }; |
| 260 | |
| 261 | it('reports a dotless path that exists on disk but is not indexed', () => { |
| 262 | const p = probe(['scripts/deploy']); |
no test coverage detected