Roo-Code/src/__mocks__/@modelcontextprotocol/sdk/client/stdio.js
2024-12-13 16:14:13 -05:00

22 lines
No EOL
394 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
}