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

 

3 comments
Comment actions Permalink

Running Jest with coverage is not currently supported, please follow https://youtrack.jetbrains.com/issue/WEB-25778 for updates

0
Comment actions Permalink

It is now (2018.1) supposed to be supported.

0

Please sign in to leave a comment.