Download src/commands/agent-command-state.test-mocks.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/commands/agent-command-state.test-mocks.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/commands/agent-command-state.test-mocks.ts
-
curl -L -o agent-command-state.test-mocks.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/commands/agent-command-state.test-mocks.ts
295 Bytes
| // Shared hoisted state for the agent command test mocks. | |
| import { vi } from "vitest"; | |
| const agentHarnessPluginMocks = vi.hoisted(() => ({ | |
| ensureSelectedAgentHarnessPlugin: vi.fn(async () => undefined), | |
| })); | |
| export function getAgentHarnessPluginMocks() { | |
| return agentHarnessPluginMocks; | |
| } | |