From 27d83fcddecaefd6cc05b557609b20c4d54d0a5b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 9 May 2014 13:28:29 -0400 Subject: [PATCH] add spec reporter for unit tests output; less debug Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/staff/package.json | 1 + Open-ILS/web/js/ui/default/staff/services/idl.js | 2 +- Open-ILS/web/js/ui/default/staff/test/karma.conf.js | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/package.json b/Open-ILS/web/js/ui/default/staff/package.json index d423fd401c..310ee6b758 100644 --- a/Open-ILS/web/js/ui/default/staff/package.json +++ b/Open-ILS/web/js/ui/default/staff/package.json @@ -19,6 +19,7 @@ "karma-jasmine": "^0.1.5", "karma-phantomjs-launcher": "^0.1.4", "karma-script-launcher": "~0.1.0", + "karma-spec-reporter": "0.0.12", "karma-story-reporter": "^0.2.2" }, "scripts": { diff --git a/Open-ILS/web/js/ui/default/staff/services/idl.js b/Open-ILS/web/js/ui/default/staff/services/idl.js index b748e9a55d..f18e60f30c 100644 --- a/Open-ILS/web/js/ui/default/staff/services/idl.js +++ b/Open-ILS/web/js/ui/default/staff/services/idl.js @@ -21,7 +21,7 @@ angular.module('egCoreMod') var service = {}; service.parseIDL = function() { - console.debug('egIDL.parseIDL()'); + //console.debug('egIDL.parseIDL()'); // retain a copy of the full IDL within the service service.classes = $window._preload_fieldmapper_IDL; diff --git a/Open-ILS/web/js/ui/default/staff/test/karma.conf.js b/Open-ILS/web/js/ui/default/staff/test/karma.conf.js index 9515282f9f..8389f6ae88 100644 --- a/Open-ILS/web/js/ui/default/staff/test/karma.conf.js +++ b/Open-ILS/web/js/ui/default/staff/test/karma.conf.js @@ -51,7 +51,8 @@ module.exports = function(config){ // test results reporter to use // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' - reporters: ['progress'], + reporters: ['spec'], // detailed report + //reporters: ['progress'], // summary report // enable / disable colors in the output (reporters and logs) colors: true, -- 2.11.0