From bea75406bb049c205db4dc74e874773effbeec29 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 29 Apr 2026 13:22:10 +0100 Subject: [PATCH] test(configure): fix provider catalog fixture types --- .../configure.gateway-auth.prompt-auth-config.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/configure.gateway-auth.prompt-auth-config.test.ts b/src/commands/configure.gateway-auth.prompt-auth-config.test.ts index be134a96964..a46526bbfd3 100644 --- a/src/commands/configure.gateway-auth.prompt-auth-config.test.ts +++ b/src/commands/configure.gateway-auth.prompt-auth-config.test.ts @@ -1,5 +1,5 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; -import type { OpenClawConfig } from "../config/types.js"; +import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { NormalizedModelCatalogRow } from "../model-catalog/index.js"; import type { RuntimeEnv } from "../runtime.js"; import type { WizardPrompter } from "../wizard/prompts.js"; @@ -320,7 +320,7 @@ describe("promptAuthConfig", () => { }, }, }, - } satisfies OpenClawConfig; + } as OpenClawConfig; mocks.applyAuthChoice.mockResolvedValue({ config: existingConfig }); mocks.promptModelAllowlist.mockResolvedValue({ models: undefined }); mocks.resolveProviderPluginChoice.mockReturnValue(null); @@ -349,7 +349,7 @@ describe("promptAuthConfig", () => { }, }, }, - } satisfies OpenClawConfig; + } as OpenClawConfig; mocks.applyAuthChoice.mockResolvedValue({ config: { ...existingConfig, @@ -359,9 +359,9 @@ describe("promptAuthConfig", () => { mocks.loadStaticManifestCatalogRowsForList.mockReturnValueOnce([ { ref: "github-copilot/claude-opus-4.7", + mergeKey: "github-copilot/claude-opus-4.7", provider: "github-copilot", id: "claude-opus-4.7", - mergeKey: "github-copilot/claude-opus-4.7", name: "Claude Opus 4.7", source: "manifest", input: ["text"],