mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-13 10:11:20 +00:00
tests: keep session-key mock aligned with agent defaults
This commit is contained in:
@@ -49,6 +49,8 @@ vi.mock("../../process/command-queue.js", () => ({
|
||||
}));
|
||||
|
||||
vi.mock("../../routing/session-key.js", () => ({
|
||||
DEFAULT_AGENT_ID: "main",
|
||||
DEFAULT_MAIN_KEY: "main",
|
||||
normalizeMainKey: vi.fn().mockReturnValue("main"),
|
||||
normalizeAgentId: vi.fn((id?: string) => id ?? "default"),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user