mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:50:43 +00:00
test: align model picker auth mock
This commit is contained in:
@@ -182,7 +182,7 @@ describe("promptDefaultModel", () => {
|
||||
});
|
||||
|
||||
it("hides unauthenticated catalog entries from default model choices", async () => {
|
||||
resolveEnvApiKey.mockReturnValue(undefined);
|
||||
resolveEnvApiKey.mockReturnValue(null);
|
||||
loadModelCatalog.mockResolvedValue([
|
||||
{ provider: "anthropic", id: "claude-sonnet-4-6", name: "Claude Sonnet" },
|
||||
{ provider: "openai", id: "gpt-5.5", name: "GPT-5.5" },
|
||||
|
||||
Reference in New Issue
Block a user