From 69cfdeb22a9e4f48dc8649d9f59ef49c74389789 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Wed, 26 Aug 2015 16:57:47 +0200 Subject: [PATCH] gulp-my-tasks: update karma.conf.js --- gulp/gulp-my-tasks/tasks/karma.conf.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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'}, -- 2.1.4