updated timeout in jest test from 11ms to 50ms.
- stdio needs about ~30ms to fully connect now. not 1ms.
This commit is contained in:
parent
6b73576e2b
commit
2d2ce42b31
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue