mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-23 22:01:11 -05:00
23 lines
374 B
JavaScript
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,
|
|
}
|