(node: Element | null)
| 92 | const all = (testId: string): Element[] => |
| 93 | [...container.querySelectorAll(`[data-testid="${testId}"]`)]; |
| 94 | const textOf = (node: Element | null): string => (node?.textContent ?? '').replace(/\s+/g, ' ').trim(); |
| 95 | |
| 96 | /** |
| 97 | * In ein gesteuertes Feld schreiben, so wie ein Mensch es tut. |
no outgoing calls
no test coverage detected