(text: string)
| 1781 | |
| 1782 | const configToml = () => path.join(tmpHome, '.codex', 'config.toml'); |
| 1783 | function writeConfig(text: string): void { |
| 1784 | fs.mkdirSync(path.dirname(configToml()), { recursive: true }); |
| 1785 | fs.writeFileSync(configToml(), text); |
| 1786 | } |
| 1787 | const block = buildTomlTable('mcp_servers.codegraph', { command: 'codegraph', args: ['serve', '--mcp'] }); |
| 1788 | |
| 1789 | it('the reported indented table: detected, replaced once, unchanged after, refreshed in place, removed by uninstall', () => { |
no test coverage detected