diff --git a/karma.conf.js b/karma.conf.js index ed0864b..80b8397 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -31,7 +31,7 @@ module.exports = function(config) { // test results reporter to use // possible values: 'dots', 'progress' // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], + reporters: ['mocha'], // web server port port: 9876, @@ -58,6 +58,8 @@ module.exports = function(config) { // how many browser should be started simultaneous concurrency: Infinity, + plugin: ['karma-mocha-reporter'], + browserify: { debug: true, plugin: ['proxyquireify/plugin'], diff --git a/package.json b/package.json index d6aa828..da35d8f 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "karma-chrome-launcher": "^0.2.2", "karma-html2js-preprocessor": "^0.1.0", "karma-mocha": "^0.2.2", + "karma-mocha-reporter": "^1.2.3", "mocha": "^2.4.5", "mocha-jscs": "^4.2.0", "mocha-jshint": "^2.3.1", @@ -44,7 +45,8 @@ "proxyquireify": "^3.1.1", "sinon": "^1.17.3", "vinyl-buffer": "^1.0.0", - "vinyl-source-stream": "^1.1.0" + "vinyl-source-stream": "^1.1.0", + "watchify": "^3.7.0" }, "scripts": { "start": "node index.js",