mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-21 21:56:46 +00:00
test: clarify channels status error assertion
This commit is contained in:
@@ -224,7 +224,9 @@ describe("channelsStatusCommand SecretRef fallback flow", () => {
|
||||
|
||||
await channelsStatusCommand({ probe: false }, runtime as never);
|
||||
|
||||
expect(errors.some((line) => line.includes("Gateway not reachable"))).toBe(true);
|
||||
expect(errors).toEqual(
|
||||
expect.arrayContaining([expect.stringContaining("Gateway not reachable")]),
|
||||
);
|
||||
expect(mocks.resolveCommandConfigWithSecrets).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
commandName: "channels status",
|
||||
|
||||
Reference in New Issue
Block a user