(el, txt)
| 43 | } |
| 44 | |
| 45 | async function waitForText(el, txt) { |
| 46 | const hasText = () => el.querySelector('div').textContent === txt; |
| 47 | await waitFor(hasText, 'element text updated'); |
| 48 | } |
| 49 | |
| 50 | async function getRenderedData() { |
| 51 | const wrapper = await waitRendered(); |
no test coverage detected