Created
March 5, 2020 01:01
-
-
Save matyax/62159d734cc6baf6bf98d0561732e83c to your computer and use it in GitHub Desktop.
Errors with testing-library/react@beta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError: MutationObserver is not a constructor | |
at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait.js:35:22 | |
at wait (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait.js:28:10) | |
at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait.js:67:54 | |
at node_modules/@testing-library/react/dist/pure.js:51:22 | |
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:24353:12) | |
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1090:14) | |
at asyncAct (node_modules/@testing-library/react/dist/act-compat.js:118:12) | |
at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:50:35) | |
at waitWrapper (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait.js:67:35) | |
ReferenceError: Cannot access 'observer' before initialization | |
at Immediate.<anonymous> (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait.js:42:49) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment