Add Code Coverage to tests in a Webpack project
How much of your code runs during unit testing is an extremely valuable metric to track. Utilizing code the
karma-coverage plugin and
babel-plugin-__coverage__ plugin, we can get an accurate measure of how well we’re covering the files that we are testing.