Files
Roo-Code/src/__mocks__/@modelcontextprotocol/sdk/client/stdio.js
2025-01-17 14:11:28 -05:00

23 lines
374 B
JavaScript

class StdioClientTransport {
constructor() {
this.start = jest.fn().mockResolvedValue(undefined)
this.close = jest.fn().mockResolvedValue(undefined)
this.stderr = {
on: jest.fn(),
}
}
}
class StdioServerParameters {
constructor() {
this.command = ""
this.args = []
this.env = {}
}
}
module.exports = {
StdioClientTransport,
StdioServerParameters,
}