(messageType: string, data: any, messageId: string)
| 118 | } |
| 119 | |
| 120 | private respond(messageType: string, data: any, messageId: string) { |
| 121 | const response = JSON.stringify({ messageType, data, messageId }); |
| 122 | this.subprocess.stdin.write(response + "\r\n"); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | jest.setTimeout(30_000); |