Skip to content

Commit d82502f

Browse files
committed
Fix TypeScript errors in ClineProvider test
1 parent 4808902 commit d82502f

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,
@@ -2170,16 +2169,10 @@ describe.skip("ContextProxy integration", () => {
21702169
expect(result).toBe("testValue")
21712170
})
21722171

2173-
test("storeSecret uses contextProxy", async () => {
2174-
await provider.storeSecret("apiKey", "test-secret")
2175-
expect(mockContextProxy.storeSecret).toHaveBeenCalledWith("apiKey", "test-secret")
2176-
})
2177-
21782172
test("contextProxy methods are available", () => {
21792173
// Verify the contextProxy has all the required methods
21802174
expect(mockContextProxy.getGlobalState).toBeDefined()
21812175
expect(mockContextProxy.updateGlobalState).toBeDefined()
2182-
expect(mockContextProxy.storeSecret).toBeDefined()
21832176
expect(mockContextProxy.setValue).toBeDefined()
21842177
expect(mockContextProxy.setValues).toBeDefined()
21852178
})

0 commit comments

Comments
 (0)