()
| 164 | * You can use this to opt of mocking in a specific test. |
| 165 | **/ |
| 166 | export function destroyIntersectionMocking() { |
| 167 | resetIntersectionMocking(); |
| 168 | // @ts-expect-error |
| 169 | window.IntersectionObserver = originalIntersectionObserver; |
| 170 | } |
| 171 | |
| 172 | function triggerIntersection( |
| 173 | elements: Element[], |
no test coverage detected
searching dependent graphs…