mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-03 18:33:14 +08:00
feat: 优化 macOS 微信发送消息能力
参考 wechat_chatter PR #36: https://github.com/yincongcyincong/wechat_chatter/pull/36 补充 WeChat 4.1.11.53 的 GetService / CdnManager 地址, 并适配绑定后的发送能力检测逻辑。
This commit is contained in:
@@ -169,9 +169,9 @@ describe('PersonalWechatSendDialog', () => {
|
||||
it('keeps the setup guide voice-only when voice capability is unavailable', async () => {
|
||||
getStatus.mockResolvedValue({ ...readyStatus, canSend: false, canSendVoice: false })
|
||||
renderDialog({ onOpenPersonalWechatSettings: vi.fn() })
|
||||
expect(await screen.findByText('验证消息能力')).toBeInTheDocument()
|
||||
expect(await screen.findByText('初始化发送能力')).toBeInTheDocument()
|
||||
expect(screen.getByText('语音消息')).toBeInTheDocument()
|
||||
expect(screen.queryByText('文字消息')).not.toBeInTheDocument()
|
||||
expect(screen.queryByText('图片和语音消息')).not.toBeInTheDocument()
|
||||
expect(screen.getByText('文字消息')).toBeInTheDocument()
|
||||
expect(screen.getByText('图片消息')).toBeInTheDocument()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user