" from null /Users/***/Desktop/projects/***/node_modules/jest-runtime/build/index.js:517 const wr...">

Jest test Cannot read property "Object. <Anonymous>" from null

/Users/***/Desktop/projects/***/node_modules/jest-runtime/build/index.js:517 const wrapper = this._environment.runScript(transformedFile.script)[ 

Sometimes, if I run jpm test jest with this error in mind.

+5
source share
1 answer

This may be caused by running animation in React Native. Do not run this animation when a joke is detected - the best solution I have found now. I tried not to run the animation and the error went away.

0
source

Source: https://habr.com/ru/post/1273496/


All Articles