score:11

Accepted answer

After add "@babel/runtime", I fixed it

score:6

Add @babel/runtime to the dependency section. That will fix it.

score:9

In my case the solution was to clean jest cache:

npx jest --clearCache

Related Query

More Query from same tag