瀏覽代碼

Fix Logging pt4

Andrea Condoluci 9 年之前
父節點
當前提交
6504ae9c57
共有 1 個文件被更改,包括 8 次插入1 次删除
  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,