(query: string)
| 136 | afterAll(() => cleanup(dir, cg)); |
| 137 | |
| 138 | const explore = async (query: string) => { |
| 139 | const result = await handler.execute('codegraph_explore', { query }); |
| 140 | const text = result.content?.[0]?.text ?? ''; |
| 141 | return { text, bytes: attributeSourceBytes(text) }; |
| 142 | }; |
| 143 | |
| 144 | it('keeps files whose only match is an unused local out of the response', async () => { |
| 145 | const { bytes } = await explore('how does dispatch route an event to its handler'); |
no test coverage detected