You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Array destructuring fails with an obscure Babel helper error. Babel recently improved the error emitted here, so this might be solved by updating deps.
Partial stack trace:
TypeError: arr[Symbol.iterator] is not a function
at _iterableToArrayLimit (https://5otb7.csb.app/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js:8:39)
at _slicedToArray (https://5otb7.csb.app/node_modules/@babel/runtime/helpers/slicedToArray.js:8:33)
at Object.eval (https://5otb7.csb.app/src/index.test.js:14:53)
at https://codesandbox.io/static/js/vendors~jest-lite.d7cf4386a.chunk.js:1:199229
How has this issue affected you? What are you trying to accomplish?
I was building an interview problem sandbox, and while refactoring a Jest test I hit a wall because of this error. Pointed me to line 1 column 1, I ultimately found it by disabling sourcemaps, hunting through network tab for likely source files, and setting breakpoints until I narrowed it down.
Just wanted to say that this is currently a bit down on our list as there is no pressing issue with the babel dependency. Really appreciate this report as it did bump the issue up on our list, but it will probably take a while to get this specific issue fixed... unless we meet a more pressing issue which forces us to put this way up on the list 馃槃
I will close this issue for now, but please reopen if you meet other issues.
馃悰 bug report
Description of the problem
Array destructuring fails with an obscure Babel helper error. Babel recently improved the error emitted here, so this might be solved by updating deps.
Partial stack trace:
How has this issue affected you? What are you trying to accomplish?
I was building an interview problem sandbox, and while refactoring a Jest test I hit a wall because of this error. Pointed me to line 1 column 1, I ultimately found it by disabling sourcemaps, hunting through network tab for likely source files, and setting breakpoints until I narrowed it down.
Link to sandbox:
minimal reproduction
minimal Jest reproduction, with broken highlighted line
Your Environment
The text was updated successfully, but these errors were encountered: