Merge pull request #304 from Alfresco/dev-mromano-284

#284 coveralls integration
This commit is contained in:
Mario Romano
2016-06-29 01:31:19 -07:00
committed by GitHub
24 changed files with 53 additions and 28 deletions

View File

@@ -72,8 +72,8 @@ module.exports = function (config) {
],
// Coverage reporter generates the coverage
reporters: ['mocha', 'coverage', 'kjhtml'],
reporters: ['mocha', 'coverage', 'coveralls', 'kjhtml'],
// Source files that you wanna generate coverage for.
// Do not include tests or libraries (these files will be instrumented by Istanbul)
preprocessors: {
@@ -86,7 +86,8 @@ module.exports = function (config) {
reporters: [
{type: 'text'},
{type: 'json', file: 'coverage-final.json'},
{type: 'html'}
{type: 'html'},
{type: 'lcov'}
]
}
};