From: Gustavo Martin Morcuende Date: Wed, 26 Aug 2015 14:57:47 +0000 (+0200) Subject: gulp-my-tasks: update karma.conf.js X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=69cfdeb22a9e4f48dc8649d9f59ef49c74389789;p=JavaScriptForFun gulp-my-tasks: update karma.conf.js --- diff --git a/gulp/gulp-my-tasks/tasks/karma.conf.js b/gulp/gulp-my-tasks/tasks/karma.conf.js index 79914f5..beadff4 100644 --- a/gulp/gulp-my-tasks/tasks/karma.conf.js +++ b/gulp/gulp-my-tasks/tasks/karma.conf.js @@ -57,20 +57,21 @@ module.exports = function(config) { junitReporter: { // results will be saved as $outputDir/$browserName.xml - outputDir: 'report', + outputDir: process.cwd() + '/report', // if included, results will be saved as $outputDir/$browserName/$outputFile outputFile: 'test-results.xml' // suite will become the package name attribute in xml testsuite element // suite: '' }, + preprocessors: { - 'src/showcase/app/**/!(*.spec)+(.js)': ['coverage'] + '/home/gustavo/github/JavaScriptForFun/angularjs/showcase/src/showcase/app/**/!(*.spec)+(.js)': ['coverage'] }, coverageReporter: { // specify a common output directory - dir: 'report/coverage', + dir: process.cwd() + '/report/coverage', reporters: [ // reporters not supporting the `file` property {type: 'html', subdir: 'report-html'},