(q: string)
| 343 | |
| 344 | it('accepts the other spellings agents write', () => { |
| 345 | const anchor = (q: string) => extractQueryPaths(q, INDEX).lineAnchors; |
| 346 | expect(anchor(`lines 900 to 1003 of ${CHAT}`)).toEqual([{ file: CHAT, start: 900, end: 1003 }]); |
| 347 | expect(anchor(`L900-L1003 in ${CHAT}`)).toEqual([{ file: CHAT, start: 900, end: 1003 }]); |
| 348 | expect(anchor(`${CHAT} line 42`)).toEqual([{ file: CHAT, start: 42, end: 42 }]); |
no test coverage detected