mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-06 15:18:58 +00:00
test: align stable release expectations
This commit is contained in:
@@ -138,9 +138,7 @@ describe("buildQaGatewayConfig", () => {
|
||||
});
|
||||
|
||||
expect(getPrimaryModel(cfg.agents?.defaults?.model)).toBe("aimock/gpt-5.5");
|
||||
expect(cfg.agents?.defaults?.imageGenerationModel).toEqual({
|
||||
primary: "aimock/gpt-image-1",
|
||||
});
|
||||
expect(cfg.agents?.defaults?.imageGenerationModel).toBeUndefined();
|
||||
expect(cfg.models?.providers?.aimock?.baseUrl).toBe("http://127.0.0.1:45080/v1");
|
||||
expect(cfg.models?.providers?.aimock?.api).toBe("openai-responses");
|
||||
expect(cfg.models?.providers?.openai?.baseUrl).toBe("http://127.0.0.1:45080/v1");
|
||||
|
||||
@@ -1121,7 +1121,7 @@ describe("update-cli", () => {
|
||||
expect(last).toBeDefined();
|
||||
const parsed = last as Record<string, unknown>;
|
||||
const channel = parsed.channel as { value?: unknown };
|
||||
expect(channel.value).toBe("beta");
|
||||
expect(channel.value).toBe("stable");
|
||||
},
|
||||
},
|
||||
] as const)("updateStatusCommand rendering: $name", runUpdateCliScenario);
|
||||
|
||||
@@ -79,11 +79,11 @@ describe("status-all format", () => {
|
||||
}),
|
||||
).toEqual({
|
||||
channelInfo: {
|
||||
channel: "beta",
|
||||
source: "installed-version",
|
||||
label: "beta (installed version)",
|
||||
channel: "stable",
|
||||
source: "config",
|
||||
label: "stable (config)",
|
||||
},
|
||||
channelLabel: "beta (installed version)",
|
||||
channelLabel: "stable (config)",
|
||||
gitLabel: "main · tag v1.2.3",
|
||||
updateLine: `git main · ↔ origin/main · behind 2 · npm update ${newerRegistryVersion}`,
|
||||
updateAvailable: true,
|
||||
@@ -374,7 +374,7 @@ describe("status-all format", () => {
|
||||
{ Item: "Version", Value: "1.0.0" },
|
||||
{ Item: "Dashboard", Value: "http://127.0.0.1:18789/" },
|
||||
{ Item: "Tailscale exposure", Value: "serve · box.tail.ts.net · https://box.tail.ts.net" },
|
||||
{ Item: "Channel", Value: "beta (installed version)" },
|
||||
{ Item: "Channel", Value: "stable (config)" },
|
||||
{ Item: "Git", Value: "main · tag v1.2.3" },
|
||||
{ Item: "Update", Value: "available · custom update" },
|
||||
{
|
||||
|
||||
@@ -82,7 +82,7 @@ describe("status-overview-surface", () => {
|
||||
{ Item: "OS", Value: "macOS · node 22" },
|
||||
{ Item: "Dashboard", Value: "http://127.0.0.1:18789/" },
|
||||
{ Item: "Tailscale exposure", Value: "muted(off · box.tail.ts.net)" },
|
||||
{ Item: "Channel", Value: "beta (installed version)" },
|
||||
{ Item: "Channel", Value: "stable (config)" },
|
||||
{ Item: "Git", Value: "main · tag v1.2.3" },
|
||||
{ Item: "Update", Value: "available · custom update" },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user