Explorar o código

Fix Logging pt4

Andrea Condoluci %!s(int64=9) %!d(string=hai) anos
pai
achega
6504ae9c57
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      karma.conf.js

+ 8 - 1
karma.conf.js

@@ -55,7 +55,14 @@ module.exports = function (config) {
 
         // level of logging
         // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
-        logLevel: config.LOG_WARN,
+        logLevel: config.LOG_INFO,
+
+        client: {
+            captureConsole: true,
+            mocha: {
+                bail: true
+            }
+        },
 
         // enable / disable watching file and executing tests whenever any file changes
         autoWatch: false,