Running Jest with code coverage
Is there a way to run Jest with coverage and see it within IntelliJ?
When running "jest --coverage" a folder named "coverage" is created with coverage report.
I wasn't able to find a way to connect the report to IntelliJ, so that I can see which lines are covered by tests
Please sign in to leave a comment.
Running Jest with coverage is not currently supported, please follow https://youtrack.jetbrains.com/issue/WEB-25778 for updates
It is now (2018.1) supposed to be supported.
Yes, it's there since 2017.3.x - see https://blog.jetbrains.com/webstorm/2017/10/webstorm-2017-3-eap-173-3302/