test: align task title sanitization expectation · openclaw/openclaw@96d9009
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -135,7 +135,9 @@ describe("buildTasksReply", () => {
|
135 | 135 | |
136 | 136 | const reply = await buildTasksReplyForTest(); |
137 | 137 | |
138 | | -expect(reply.text).toContain("[Mon 2026-04-06 02:42 GMT+1]"); |
| 138 | +expect(reply.text).toContain("Background task"); |
| 139 | +expect(reply.text).toContain("Finished."); |
| 140 | +expect(reply.text).not.toContain("[Mon 2026-04-06 02:42 GMT+1]"); |
139 | 141 | expect(reply.text).not.toContain("BEGIN_OPENCLAW_INTERNAL_CONTEXT"); |
140 | 142 | expect(reply.text).not.toContain("OpenClaw runtime context (internal):"); |
141 | 143 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。