Jest TypeError: Path must be a string. Received undefined

后端 未结 7 1716
小蘑菇
小蘑菇 2020-12-10 10:48

Below settings for my package.json

If I run from command line npm test all jest test cases are executed properly. In case I use directly the command

相关标签:
7条回答
  • 2020-12-10 11:14

    npm install react-dev-utils@10.1.0

    Installing this version of react-dev-utils helped, when sometimes the commands in the accepted answers didn't.

    Good luck y'all!

    0 讨论(0)
提交回复
热议问题