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

This commit is contained in:
Wxw-Gu committed 2026-09-14 16:44:53 +08:00
1 parent cf9ea8a83b
commit 550e3b104c
5 files changed
+83 -64

No files matched your search

@@ -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()
})