(testId: string)
| 90 | const find = (testId: string): Element | null => |
| 91 | container.querySelector(`[data-testid="${testId}"]`); |
| 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 | /** |
no outgoing calls
no test coverage detected