Closed lydiapuric closed 5 years ago
Checking around for the usage of MutationObserver: It looks like MutationObserver is not supported in jest - respectively in jsdom - and there is no plan to support it. I might create a mock implementation of MutationObserver that behaves how we need.
Debugging with Jest: https://git.corp.adobe.com/sitesexp/snippets/issues/3
With https://github.com/adobe/aem-spa-project-archetype/pull/27 jest is used for testing. Migrate the existing karma test to jest.