mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 03:51:18 +00:00
test: align task title sanitization expectation
This commit is contained in:
parent
2c8c79de5c
commit
96d90091c4
1 changed files with 3 additions and 1 deletions
|
|
@ -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):");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue