(
ink: MountedInkProbe | undefined,
predicate: (text: string) => boolean,
options?: {
readonly timeoutMs?: number
readonly label?: string
},
)
| 215 | } |
| 216 | |
| 217 | export async function waitForMountedScreenText( |
| 218 | ink: MountedInkProbe | undefined, |
| 219 | predicate: (text: string) => boolean, |
| 220 | options?: { |
| 221 | readonly timeoutMs?: number |
| 222 | readonly label?: string |
| 223 | }, |
| 224 | ): Promise<string> { |
| 225 | return await waitForText( |
| 226 | () => readMountedScreenText(ink), |
| 227 | predicate, |
| 228 | options, |
| 229 | ) |
| 230 | } |
| 231 | |
| 232 | export async function waitForMountedVisibleRows( |
| 233 | ink: MountedInkProbe | undefined, |
no test coverage detected