mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
test: align task title sanitization expectation
This commit is contained in:
@@ -135,7 +135,9 @@ describe("buildTasksReply", () => {
|
||||
|
||||
const reply = await buildTasksReplyForTest();
|
||||
|
||||
expect(reply.text).toContain("[Mon 2026-04-06 02:42 GMT+1]");
|
||||
expect(reply.text).toContain("Background task");
|
||||
expect(reply.text).toContain("Finished.");
|
||||
expect(reply.text).not.toContain("[Mon 2026-04-06 02:42 GMT+1]");
|
||||
expect(reply.text).not.toContain("BEGIN_OPENCLAW_INTERNAL_CONTEXT");
|
||||
expect(reply.text).not.toContain("OpenClaw runtime context (internal):");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user