mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-22 14:41:34 +00:00
fix(outbound): restore generic delivery and security seams
This commit is contained in:
@@ -4,9 +4,13 @@ const { callGatewayMock } = vi.hoisted(() => ({
|
||||
callGatewayMock: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("../agent-scope.js", () => ({
|
||||
resolveSessionAgentId: () => "agent-123",
|
||||
}));
|
||||
vi.mock("../agent-scope.js", async () => {
|
||||
const actual = await vi.importActual<typeof import("../agent-scope.js")>("../agent-scope.js");
|
||||
return {
|
||||
...actual,
|
||||
resolveSessionAgentId: () => "agent-123",
|
||||
};
|
||||
});
|
||||
|
||||
import { createCronTool } from "./cron-tool.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user