karma-browserify coverage reports contain file include paths instead of source code
问题 Using karma-browserify to do unit tests with Jasmine. The tests correctly run but the coverage reports show file include paths instead of source code. You can reproduce this by installing the following project and run 'gulp unit': https://github.com/bshack/shackstack Here is an example of the coverage report contents: typeof require === "function" && require("/xxx/xxx/xxx/shackstack/app/media/script/service/utilities.js"); Here is my karma.config: module.exports = function(karma) { 'use