diff --git a/core/context/mcp/MCPConnection.test.ts b/core/context/mcp/MCPConnection.test.ts index acfc6618a..7e909fe43 100644 --- a/core/context/mcp/MCPConnection.test.ts +++ b/core/context/mcp/MCPConnection.test.ts @@ -173,7 +173,8 @@ describe("MCPConnection", () => { }); it("should handle custom connection timeout", async () => { - const conn = new MCPConnection({ ...options, timeout: 11 }); + const conn = new MCPConnection({ ...options, timeout: 50 }); + const mockConnect = jest .spyOn(Client.prototype, "connect") .mockImplementation(