(args: string[])
| 5 | import * as os from 'node:os'; |
| 6 | |
| 7 | async function runConfigCommand(args: string[]): Promise<void> { |
| 8 | const { registerConfigCommand } = await import('../../src/commands/config.js'); |
| 9 | const program = new Command(); |
| 10 | registerConfigCommand(program); |
| 11 | await program.parseAsync(['node', 'openspec', 'config', ...args]); |
| 12 | } |
| 13 | |
| 14 | describe('config command integration', () => { |
| 15 | // These tests use real file system operations with XDG_CONFIG_HOME override |
no test coverage detected