(text: string)
| 1794 | |
| 1795 | const configToml = () => path.join(tmpHome, '.codex', 'config.toml'); |
| 1796 | function writeConfig(text: string): void { |
| 1797 | fs.mkdirSync(path.dirname(configToml()), { recursive: true }); |
| 1798 | fs.writeFileSync(configToml(), text); |
| 1799 | } |
| 1800 | const block = buildTomlTable('mcp_servers.codegraph', { command: 'codegraph', args: ['serve', '--mcp'] }); |
| 1801 | |
| 1802 | it('the reported indented table: detected, replaced once, unchanged after, refreshed in place, removed by uninstall', () => { |
no test coverage detected