mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 07:04:32 +00:00
test(cli): fix gateway coverage mock signature
This commit is contained in:
@@ -28,7 +28,7 @@ const discoverGatewayBeacons = vi.fn<(opts: unknown) => Promise<DiscoveredBeacon
|
|||||||
);
|
);
|
||||||
const gatewayStatusCommand = vi.fn<(opts: unknown) => Promise<void>>(async () => {});
|
const gatewayStatusCommand = vi.fn<(opts: unknown) => Promise<void>>(async () => {});
|
||||||
const inspectPortUsage = vi.fn(async (_port: number) => ({ status: "free" as const }));
|
const inspectPortUsage = vi.fn(async (_port: number) => ({ status: "free" as const }));
|
||||||
const formatPortDiagnostics = vi.fn(() => [] as string[]);
|
const formatPortDiagnostics = vi.fn((_diagnostics: unknown) => [] as string[]);
|
||||||
|
|
||||||
const { runtimeLogs, runtimeErrors, defaultRuntime, resetRuntimeCapture } =
|
const { runtimeLogs, runtimeErrors, defaultRuntime, resetRuntimeCapture } =
|
||||||
createCliRuntimeCapture();
|
createCliRuntimeCapture();
|
||||||
|
|||||||
Reference in New Issue
Block a user