Open utterances-bot opened 7 months ago
This post describes how to mock IntersectionObserver, a layout helper which is not implemented when running tests with Jest + JSDOM.
https://aronschueler.de/blog/2022/12/14/mocking-intersectionobserver-in-jest/
Vielen Danke!
Mocking IntersectionObserver in Jest
This post describes how to mock IntersectionObserver, a layout helper which is not implemented when running tests with Jest + JSDOM.
https://aronschueler.de/blog/2022/12/14/mocking-intersectionobserver-in-jest/