(projectPath: string, symbol: string)
| 183 | } |
| 184 | |
| 185 | async function search(projectPath: string, symbol: string): Promise<string> { |
| 186 | const res = await engine.getToolHandler().execute('codegraph_search', { query: symbol, projectPath }); |
| 187 | expect(res.isError).toBeFalsy(); |
| 188 | return res.content.map((c) => (c.type === 'text' ? c.text : '')).join('\n'); |
| 189 | } |
| 190 | |
| 191 | for (const options of [{ watch: true }, { watch: false }, { readOnly: true }]) { |
| 192 | it(`defers explicit project opens during a rebuild (${JSON.stringify(options)})`, async () => { |
no test coverage detected