()
| 153 | }); |
| 154 | |
| 155 | function createTallElement() { |
| 156 | const tallItem = document.createElement('div'); |
| 157 | tallItem.style.height = '3000px'; |
| 158 | document.body.appendChild(tallItem); |
| 159 | const anchorNode = createAnchorNode(); |
| 160 | document.body.appendChild(anchorNode); |
| 161 | |
| 162 | return { |
| 163 | anchorNode, |
| 164 | cleanup: () => { |
| 165 | tallItem.remove(); |
| 166 | anchorNode.remove(); |
| 167 | }, |
| 168 | }; |
| 169 | } |
| 170 | |
| 171 | function createTallElementWithShadowRoot() { |
| 172 | const tallItem = document.createElement('div'); |
no test coverage detected
searching dependent graphs…