mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 21:13:04 +00:00
test: cover channels status timeout request
This commit is contained in:
@@ -220,12 +220,11 @@ describe("channelsStatusCommand SecretRef fallback flow", () => {
|
||||
|
||||
await channelsStatusCommand({ channel: "imsg", json: true, probe: true }, runtime as never);
|
||||
|
||||
expect(mocks.callGateway).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
method: "channels.status",
|
||||
params: { channel: "imsg", probe: true, timeoutMs: 30000 },
|
||||
}),
|
||||
);
|
||||
expect(mocks.callGateway).toHaveBeenCalledWith({
|
||||
method: "channels.status",
|
||||
params: { channel: "imsg", probe: true, timeoutMs: 30000 },
|
||||
timeoutMs: 30000,
|
||||
});
|
||||
});
|
||||
|
||||
it("keeps read-only fallback output when SecretRefs are unresolved", async () => {
|
||||
|
||||
Reference in New Issue
Block a user