axios-redmine2
Version:
axios-redmine2 is a nodejs library which supports 100% features of Redmine's REST API. Support nodejs8+
25 lines (21 loc) • 454 B
JavaScript
module.exports = function mochaIstanbul (grunt) {
// Load task
grunt.loadNpmTasks('grunt-mocha-istanbul')
grunt.event.on('coverage', function (lcov, done) {
// console.log(lcov);
done()
})
// Options
return {
coverage: {
src: 'test', // a folder works nicely
options: {
coverage: true,
reportFormats: ['lcov', 'lcovonly'],
root: '.',
recursive: true
}
}
}
}