(testId: string)
| 17 | const asFragment = () => |
| 18 | document.createRange().createContextualFragment(container.innerHTML) |
| 19 | const getInputByTestId = (testId: string) => queryByTestId(testId) as HTMLInputElement |
| 20 | |
| 21 | // Some tests need to look up global ids with document.getElementById() |
| 22 | // so we need to be inside an actual document. |
no test coverage detected