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
I'm not positive, but I think this could be an error in this repo. I'm upgrading from babel 6 to 7, and found that my tests using react-test-renderer/shallow are failing for functional component children which are using arrow functions. I'm no longer able to access result.type.name on the render result, for instance. It comes back as '' instead of the name of the arrow function. I still see the display names correctly in the react dev tools, just not these tests.
Let me know if any additional info would be useful to debug this.
The text was updated successfully, but these errors were encountered:
I'm not positive, but I think this could be an error in this repo. I'm upgrading from babel 6 to 7, and found that my tests using
react-test-renderer/shallow
are failing for functional component children which are using arrow functions. I'm no longer able to accessresult.type.name
on the render result, for instance. It comes back as''
instead of the name of the arrow function. I still see the display names correctly in the react dev tools, just not these tests.Let me know if any additional info would be useful to debug this.
The text was updated successfully, but these errors were encountered: