Created
March 30, 2015 19:50
-
-
Save mrfyda/820ff5b1c51ef2372a47 to your computer and use it in GitHub Desktop.
mocha + karma coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var baseConfig = require('./karma.conf.js'); | |
module.exports = function (config) { | |
// Load base config | |
baseConfig(config); | |
// Override base config | |
config.set({ | |
... | |
coverageReporter: { | |
type: 'lcov', | |
dir: 'reports', | |
subdir: 'coverage' | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment