mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-17 04:50:51 +00:00
16 lines
283 B
TypeScript
16 lines
283 B
TypeScript
import { vi } from "vitest";
|
|
|
|
const noop = () => {};
|
|
|
|
vi.mock("../gateway/call.js", () => ({
|
|
callGateway: vi.fn(async () => ({
|
|
status: "ok",
|
|
startedAt: 111,
|
|
endedAt: 222,
|
|
})),
|
|
}));
|
|
|
|
vi.mock("../infra/agent-events.js", () => ({
|
|
onAgentEvent: vi.fn(() => noop),
|
|
}));
|