()
| 4 | if (typeof window !== 'undefined') { |
| 5 | window.fetch = jest.fn().mockResolvedValue({}); |
| 6 | const intersectionObserverMock = () => ({ |
| 7 | observe: () => null, |
| 8 | unobserve: () => null, |
| 9 | disconnect: () => null, |
| 10 | }); |
| 11 | window.IntersectionObserver = jest |
| 12 | .fn() |
| 13 | .mockImplementation(intersectionObserverMock); |
nothing calls this directly
no outgoing calls
no test coverage detected