add spec reporter for unit tests output; less debug
authorBill Erickson <berick@esilibrary.com>
Fri, 9 May 2014 17:28:29 +0000 (13:28 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 9 May 2014 17:28:29 +0000 (13:28 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/ui/default/staff/package.json
Open-ILS/web/js/ui/default/staff/services/idl.js
Open-ILS/web/js/ui/default/staff/test/karma.conf.js

index d423fd4..310ee6b 100644 (file)
@@ -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": {
index b748e9a..f18e60f 100644 (file)
@@ -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;
index 9515282..8389f6a 100644 (file)
@@ -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,