Skip to content

Commit 44367f2

Browse files
committed
test(webview): mock workspace tracker launch init
1 parent 4a72069 commit 44367f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/webview/__tests__/webviewMessageHandler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ describe("webviewMessageHandler - webviewDidLaunch", () => {
215215
currentApiConfigName: "view-local-profile",
216216
} as any)
217217
;(mockClineProvider as any).setViewStateId = vi.fn().mockResolvedValue(undefined)
218-
;(mockClineProvider as any).workspaceTracker = { initializeFilePaths: vi.fn() }
218+
;(mockClineProvider as any).workspaceTracker = { initializeFilePaths: vi.fn().mockResolvedValue(undefined) }
219219
;(mockClineProvider as any).providerSettingsManager = {
220220
listConfig: vi.fn().mockResolvedValue([{ name: "shared-profile", apiProvider: "anthropic" }]),
221221
hasConfig: vi.fn().mockResolvedValue(false),

0 commit comments

Comments
 (0)