test: avoid downgrade prompt in update fallback

This commit is contained in:
Peter Steinberger 2026-01-22 02:44:05 +00:00
parent f9b4de896a
commit 2f9b614678

View File

@ -236,7 +236,7 @@ describe("update-cli", () => {
durationMs: 100,
});
await updateCommand({});
await updateCommand({ yes: true });
const call = vi.mocked(runGatewayUpdate).mock.calls[0]?.[0];
expect(call?.channel).toBe("stable");