Skip to content

Commit 591a823

Browse files
committed
Fix TypeScript errors in ClineProvider test
1 parent 79aa13c commit 591a823

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/core/webview/__tests__/ClineProvider.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ describe("ClineProvider", () => {
385385

386386
const mockState: ExtensionState = {
387387
version: "1.0.0",
388-
osInfo: "unix",
389388
clineMessages: [],
390389
taskHistory: [],
391390
shouldShowAnnouncement: false,
@@ -2168,16 +2167,10 @@ describe.skip("ContextProxy integration", () => {
21682167
expect(result).toBe("testValue")
21692168
})
21702169

2171-
test("storeSecret uses contextProxy", async () => {
2172-
await provider.storeSecret("apiKey", "test-secret")
2173-
expect(mockContextProxy.storeSecret).toHaveBeenCalledWith("apiKey", "test-secret")
2174-
})
2175-
21762170
test("contextProxy methods are available", () => {
21772171
// Verify the contextProxy has all the required methods
21782172
expect(mockContextProxy.getGlobalState).toBeDefined()
21792173
expect(mockContextProxy.updateGlobalState).toBeDefined()
2180-
expect(mockContextProxy.storeSecret).toBeDefined()
21812174
expect(mockContextProxy.setValue).toBeDefined()
21822175
expect(mockContextProxy.setValues).toBeDefined()
21832176
})

0 commit comments

Comments
 (0)