jestでIntersectionObserverを雑にmock
code:javascript
(global as any).IntersectionObserver = jest.fn().mockImplementation(() => ({
observe: () => jest.fn(),
}));
#memo