MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getMessageHandler

Function getMessageHandler

src/core/webview/__tests__/ClineProvider.spec.ts:1569–1573  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1567 })
1568
1569 const getMessageHandler = () => {
1570 const mockCalls = (mockWebviewView.webview.onDidReceiveMessage as any).mock.calls
1571 expect(mockCalls.length).toBeGreaterThan(0)
1572 return mockCalls[0][0]
1573 }
1574
1575 test("handles mcpEnabled setting correctly", async () => {
1576 await provider.resolveWebviewView(mockWebviewView)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected