(node: AccessibilityNode, indent = '')
| 70 | } |
| 71 | |
| 72 | export function toText(node: AccessibilityNode, indent = ''): string { |
| 73 | const lines = [indent + line(node)] |
| 74 | for (const child of node.children) { |
| 75 | lines.push(toText(child, indent + ' ')) |
| 76 | } |
| 77 | return lines.join('\n') |
| 78 | } |
no test coverage detected