feat: 抽离保留进程功能到设置里

This commit is contained in:
Wxw-Gu
2026-09-14 16:44:53 +08:00
parent cf9ea8a83b
commit 550e3b104c
5 changed files with 83 additions and 64 deletions
@@ -143,6 +143,7 @@ describe('PersonalWechatSendDialog', () => {
renderDialog()
await startComposer()
expect(screen.getByRole('dialog')).toHaveTextContent('文字转语音')
expect(screen.queryByRole('switch', { name: '保留 OneBot 进程' })).not.toBeInTheDocument()
expect(screen.queryByText('验证消息能力')).not.toBeInTheDocument()
expect(screen.getByRole('button', { name: '生成语音' })).toBeDisabled()
})