(path = join(dir, 'tui.toml'))
| 68 | } |
| 69 | |
| 70 | async function writeValidTuiConfig(path = join(dir, 'tui.toml')): Promise<void> { |
| 71 | await writeFile( |
| 72 | path, |
| 73 | ` |
| 74 | theme = "dark" |
| 75 | |
| 76 | [editor] |
| 77 | command = "code --wait" |
| 78 | |
| 79 | [notifications] |
| 80 | enabled = true |
| 81 | notification_condition = "unfocused" |
| 82 | |
| 83 | [upgrade] |
| 84 | auto_install = true |
| 85 | `, |
| 86 | 'utf-8', |
| 87 | ); |
| 88 | } |
| 89 | |
| 90 | describe('kimi doctor', () => { |
| 91 | it('skips missing default config files without failing', async () => { |
no test coverage detected