(testId: string)
| 12 | const container = document.createElement(class="st">'div') |
| 13 | container.innerHTML = html |
| 14 | const queryByTestId = (testId: string) => |
| 15 | container.querySelector(`[data-testid=class="st">"${testId}"]`) as HTMLElement | SVGElement | null |
| 16 | class="cm">// asFragment has been stolen from react-testing-library |
| 17 | const asFragment = () => |
| 18 | document.createRange().createContextualFragment(container.innerHTML) |
no outgoing calls
no test coverage detected