mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
fix(acp): guard sessions_spawn runtime targets
This commit is contained in:
@@ -1954,6 +1954,8 @@ describe("createTelegramBot", () => {
|
||||
expect(replySpy).toHaveBeenCalledTimes(1);
|
||||
const payload = replySpy.mock.calls[0][0];
|
||||
expect(payload.SessionKey).toContain(testCase.expectedSessionKeyFragment);
|
||||
expect(payload.BodyForAgent).toBe(testCase.text);
|
||||
expect(payload.BodyForAgent).not.toContain("t.me/c/");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user