Test failed because of MutationObserver

Hi all,
I’m having trouble on my tests because MutationObserver seems to be undefined in the test environment (maybe because jest is using the node env?)


I read something about using jest-environment-jsdom or using polyfill to solve the MutationObserver but none of my try worked, do you guys have a solution for this?