mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 21:18:28 +00:00
test(e2e): stabilize suite
This commit is contained in:
@@ -448,7 +448,7 @@ describe("gateway server agent", () => {
|
||||
|
||||
const spy = vi.mocked(agentCommand);
|
||||
const call = spy.mock.calls.at(-1)?.[0] as Record<string, unknown>;
|
||||
expect(call.sessionKey).toBe("main");
|
||||
expect(call.sessionKey).toBe("agent:main:main");
|
||||
expectChannels(call, "webchat");
|
||||
expect(typeof call.message).toBe("string");
|
||||
expect(call.message).toContain("what is in the image?");
|
||||
|
||||
Reference in New Issue
Block a user