Skip to content

Commit 58cc57a

Browse files
fix(test): type GLM apiConfiguration mock as const to satisfy ProviderName (#161)
1 parent 891ffc8 commit 58cc57a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webview-ui/src/components/settings/__tests__/ThinkingBudget.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ describe("ThinkingBudget", () => {
317317
supportsPromptCache: true,
318318
}
319319

320-
const glmApiConfiguration = { apiProvider: "zai", apiModelId: "glm-5.1" }
320+
const glmApiConfiguration = { apiProvider: "zai", apiModelId: "glm-5.1" } as const
321321

322322
it("should render the max output tokens slider alongside the reasoning effort dropdown", () => {
323323
render(

0 commit comments

Comments
 (0)