Merge pull request #35 from seripap/tests/cleanup

Mocha reporter for karma
This commit is contained in:
Alan Friedman 2016-03-01 12:55:04 -05:00
commit 527bb50222
2 changed files with 6 additions and 2 deletions

View File

@ -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'],

View File

@ -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",