( ink: MountedInkProbe | undefined, text: string, )
| 255 | } |
| 256 | |
| 257 | export function mountedScreenIncludes( |
| 258 | ink: MountedInkProbe | undefined, |
| 259 | text: string, |
| 260 | ): boolean { |
| 261 | return ink ? readScreenText(ink.frontFrame.screen).includes(text) : false |
| 262 | } |
| 263 | |
| 264 | export function stripTerminalOutput(output: string): string { |
| 265 | return stripAnsi(output).replace(/\s+/g, ' ').trim() |
no test coverage detected