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 create the react components form .glb files using gltfjsx package. And I make some changes like adding event handlers and adding refs.
The React component works fine in dev environment. But cannot render the component from unit testing.
I create the react components form .glb files using gltfjsx package. And I make some changes like adding event handlers and adding refs.
The React component works fine in dev environment. But cannot render the component from unit testing.
Test case:
And Im facing below issue,
TypeError: Cannot destructure property 'nodes' of '(0 , _drei.useGLTF)(...)' as it is undefined.
Aim: I looking to test the events fired from component
Can someone help here?
The text was updated successfully, but these errors were encountered: