mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 09:15:41 +08:00
feat: Reader Skill 支持版本自检与自助更新
微信机器人回复剥离引用编号、列表改用空行分隔,失败通知补失败时刻 问问微信关键词检索在索引落后时按单会话直读原始记录兜底 关闭窗口支持记住选择并在设置中修改 退群监控刷新列表
This commit is contained in:
1 parent
fd7d5016a8
commit
eaa25cd29e
33 files changed
+1401
-154
No files matched your search
@@ -323,6 +323,11 @@ describe('定时日报 · 微信异常通知', () => {
|
||||
const text = sendNotification.mock.calls[0][0].text as string
|
||||
expect(text).toContain('每日晚报')
|
||||
expect(text).toContain('日报生成失败')
|
||||
// 必须带**失败发生时刻**:同一批补发的多条失败文案可能一模一样,
|
||||
// 只有这个时间戳能把它们区分开。
|
||||
expect(text).toContain('8月27日 18:31')
|
||||
// 必须用空行分隔:微信把单个换行压成空格,否则整条通知连成一行。
|
||||
expect(text).toContain('定时日报执行失败\n\n日报生成失败')
|
||||
|
||||
const notifications = await service.listNotifications()
|
||||
expect(notifications).toHaveLength(1)
|
||||
|
||||
Reference in new issue
Block a user