Skip to content

Commit 7907fdb

Browse files
committed
Fix tests
1 parent 421ee8c commit 7907fdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webview-ui/src/__tests__/ContextWindowProgress.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jest.mock("@src/components/chat/TaskHeader", () => {
3838
// Mock useSelectedModel hook
3939
jest.mock("@src/components/ui/hooks/useSelectedModel", () => ({
4040
useSelectedModel: jest.fn(() => ({
41+
id: "test",
4142
info: { contextWindow: 4000 },
4243
})),
4344
}))

0 commit comments

Comments
 (0)