(testid: string)
| 111 | } |
| 112 | |
| 113 | const at = (testid: string): HTMLElement | null => |
| 114 | container.querySelector<HTMLElement>(`[data-testid="${testid}"]`); |
| 115 | |
| 116 | const all = (testid: string): HTMLElement[] => |
| 117 | [...container.querySelectorAll<HTMLElement>(`[data-testid="${testid}"]`)]; |