How can we have multiple test coverage summaries for individual folders in React

时间:2019-04-08 12:51:20

标签: javascript reactjs mocha istanbul nyc

I want to see coverage summary for different directories in my repo on individual level not the global one. Currently it shows the global one for all folders wherever tests are written. The generated report with text-summary reporter has global coverage.

Is there a way to achieve this behaviour with mocha, Instanbuljs?

here is one example of coverage summary:

enter image description here

0 个答案:

没有答案