Migrate lazy_loader_spec to Jest
What does this MR do?
Migrates lazy_loader_spec to Jest. This also required creating some helpers for the JSDom environment.
- mock_dom_observer which can be used to manually trigger MutationObserver or IntersectionObserver.