-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[STEP-9] TypeError: MutationObserver is not a constructor #1
Comments
Whoops, sorry I missed this! Wasn't subscribed to the repo. What version of node? |
I've run into this before, maybe six months or so ago on another React project. Issue iirc was jest's jsdom dependency does not have MutationObserver. I think maybe I just polyfilled it as a quickfix. More info here: https://github.com/testing-library/dom-testing-library/releases/tag/v7.0.0 |
12.18.3 |
The solution for me was this one. I updated react-scripts to the latest version and it worked. |
Installing the
|
I've tried to update outdated packages but it does not solved the problem
LOG
The text was updated successfully, but these errors were encountered: