(text: string)
| 304 | } |
| 305 | }, |
| 306 | type(text: string) { |
| 307 | client.stdin.write(text); |
| 308 | for (const char of text) { |
| 309 | client.stdin.emit('keypress', null, { name: char }); |
| 310 | } |
| 311 | }, |
| 312 | }; |
| 313 | |
| 314 | getScreen({ raw }: { raw?: boolean } = {}): string { |
no test coverage detected