()
| 814 | let profile: string; |
| 815 | |
| 816 | function configureProfile(): void { |
| 817 | fs.writeFileSync( |
| 818 | path.join(profile, '.claude.json'), |
| 819 | JSON.stringify({ mcpServers: { codegraph: { command: 'codegraph', args: ['serve', '--mcp'] } } }), |
| 820 | ); |
| 821 | } |
| 822 | |
| 823 | beforeEach(() => { |
| 824 | for (const k of KEYS) saved[k] = process.env[k]; |