Skip to content

What can I do about this error: ReferenceError: MutationObserver is not defined #1958

Answered by keiya01
REDLIGHTFILMS asked this question in Q&A
Discussion options

You must be logged in to vote

I think you have to import mutationobserver-shim.
If you are using jest, refer the following URL.
https://jestjs.io/docs/en/configuration#setupfiles-array

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@REDLIGHTFILMS
Comment options

@REDLIGHTFILMS
Comment options

@keiya01
Comment options

@bluebill1049
Comment options

@REDLIGHTFILMS
Comment options

Answer selected by keiya01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants