As with smoke to Php(Web)Storm testing Create App React?

Good time of day. There are edgecote Create the React App for testing naturally used Jest. Before the tests were run in the console by calling npm test. But at some point it took the breakpoints and, accordingly, need to PhpStorm with smoke the whole thing. For normal js files without Reactiv all fulfills on hurrah, the breakpoints are working, everyone is happy. But once on the scene recoskie components and all of a sudden jest.mock(...) everything stops working and falls with a strange error:
Cannot find module 'package.json'
Maybe someone cranked the whole thing and have some advice on how to make so that all worked normally? Just in case I will attach the config Geste in the storm:
5a9968e87cb8d437693294.png
June 7th 19 at 14:40
0 answer

Find more questions by tags ReactWebStormTesting softwarePhpStorm