mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 13:38:39 +00:00
test: fix rebased gate regressions
This commit is contained in:
@@ -64,7 +64,7 @@ const {
|
||||
},
|
||||
})),
|
||||
resolveSessionAgentIdMock: vi.fn(() => "main"),
|
||||
estimateTokensMock: vi.fn(() => 10),
|
||||
estimateTokensMock: vi.fn((_message?: unknown) => 10),
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -36,8 +36,7 @@ const renderGatewayPortHealthDiagnostics = vi.fn(() => ["diag: unhealthy port"])
|
||||
const renderRestartDiagnostics = vi.fn(() => ["diag: unhealthy runtime"]);
|
||||
const resolveGatewayPort = vi.fn(() => 18789);
|
||||
const findGatewayPidsOnPortSync = vi.fn<(port: number) => number[]>(() => []);
|
||||
const probeGateway =
|
||||
vi.fn<
|
||||
const probeGateway = vi.fn<
|
||||
(opts: {
|
||||
url: string;
|
||||
auth?: { token?: string; password?: string };
|
||||
|
||||
Reference in New Issue
Block a user