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
We recently upgraded our React-based app to using DeckGL 9.0.8 following the upgrade guide in the docs. The application itself works, but one of our test suites now fails with the following error:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of `FloorPlanMap`..
FloorPlanMap is a React functional component that includes the DeckGL React component. We are testing our component with Jest/RTL using the RTL render method. We've tried adjusting imports, which is usually where you see this error.
Everything worked and all tests passed when we were using the latest DeckGL 8. Has anyone else run into this issue after upgrading to DeckGL 9?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We recently upgraded our React-based app to using DeckGL 9.0.8 following the upgrade guide in the docs. The application itself works, but one of our test suites now fails with the following error:
FloorPlanMap is a React functional component that includes the DeckGL React component. We are testing our component with Jest/RTL using the RTL
render
method. We've tried adjusting imports, which is usually where you see this error.Everything worked and all tests passed when we were using the latest DeckGL 8. Has anyone else run into this issue after upgrading to DeckGL 9?
Beta Was this translation helpful? Give feedback.
All reactions