Testing and Debugging Happily with WebStorm, Jest and Create-React-App
Those of us who have worked with JavaScript testing APIs on various platforms shudder every time we think about configuration issues. Whether it’s the test runner, the proper testing API, picking the appropriate mock/spy/stubbing strategy, dealing with async code, it’s always a tad complicated. However, some of my latest frustrations (self-inflicted, of course) center around running Jest tests for React projects. In particular, I’m talking about running Jest tests with an IDE and using its debugging facilities when talking to…