mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:21:23 +00:00
perf(test): stabilize e2e harness and reduce flaky gateway coverage
This commit is contained in:
@@ -450,7 +450,8 @@ describe("gateway server agent", () => {
|
||||
const call = spy.mock.calls.at(-1)?.[0] as Record<string, unknown>;
|
||||
expect(call.sessionKey).toBe("main");
|
||||
expectChannels(call, "webchat");
|
||||
expect(call.message).toBe("what is in the image?");
|
||||
expect(typeof call.message).toBe("string");
|
||||
expect(call.message).toContain("what is in the image?");
|
||||
|
||||
const images = call.images as Array<Record<string, unknown>>;
|
||||
expect(Array.isArray(images)).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user