mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 18:54:52 +00:00
Merge pull request #35 from seripap/tests/cleanup
Mocha reporter for karma
This commit is contained in:
commit
527bb50222
@ -31,7 +31,7 @@ module.exports = function(config) {
|
|||||||
// test results reporter to use
|
// test results reporter to use
|
||||||
// possible values: 'dots', 'progress'
|
// possible values: 'dots', 'progress'
|
||||||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
||||||
reporters: ['progress'],
|
reporters: ['mocha'],
|
||||||
|
|
||||||
// web server port
|
// web server port
|
||||||
port: 9876,
|
port: 9876,
|
||||||
@ -58,6 +58,8 @@ module.exports = function(config) {
|
|||||||
// how many browser should be started simultaneous
|
// how many browser should be started simultaneous
|
||||||
concurrency: Infinity,
|
concurrency: Infinity,
|
||||||
|
|
||||||
|
plugin: ['karma-mocha-reporter'],
|
||||||
|
|
||||||
browserify: {
|
browserify: {
|
||||||
debug: true,
|
debug: true,
|
||||||
plugin: ['proxyquireify/plugin'],
|
plugin: ['proxyquireify/plugin'],
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
"karma-chrome-launcher": "^0.2.2",
|
"karma-chrome-launcher": "^0.2.2",
|
||||||
"karma-html2js-preprocessor": "^0.1.0",
|
"karma-html2js-preprocessor": "^0.1.0",
|
||||||
"karma-mocha": "^0.2.2",
|
"karma-mocha": "^0.2.2",
|
||||||
|
"karma-mocha-reporter": "^1.2.3",
|
||||||
"mocha": "^2.4.5",
|
"mocha": "^2.4.5",
|
||||||
"mocha-jscs": "^4.2.0",
|
"mocha-jscs": "^4.2.0",
|
||||||
"mocha-jshint": "^2.3.1",
|
"mocha-jshint": "^2.3.1",
|
||||||
@ -44,7 +45,8 @@
|
|||||||
"proxyquireify": "^3.1.1",
|
"proxyquireify": "^3.1.1",
|
||||||
"sinon": "^1.17.3",
|
"sinon": "^1.17.3",
|
||||||
"vinyl-buffer": "^1.0.0",
|
"vinyl-buffer": "^1.0.0",
|
||||||
"vinyl-source-stream": "^1.1.0"
|
"vinyl-source-stream": "^1.1.0",
|
||||||
|
"watchify": "^3.7.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user