fix(karma): add phantomjs lancher and more

master
Ariel Mashraki 10 years ago
parent 9066f619d9
commit 1b4fd8d451

@ -27,10 +27,11 @@
"grunt-contrib-concat": "*", "grunt-contrib-concat": "*",
"grunt-contrib-jshint": "~0.8.0", "grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-uglify": "*", "grunt-contrib-uglify": "*",
"grunt-karma": "~0.6.2", "grunt-karma": "latest",
"karma": "~0.10", "karma": "~0.12.16",
"karma-jasmine": "~0.1.5",
"karma-coverage": "^0.2.6", "karma-coverage": "^0.2.6",
"karma-jasmine": "*", "karma-phantomjs-launcher": "~0.1.4",
"load-grunt-tasks": "~0.3.0", "load-grunt-tasks": "~0.3.0",
"time-grunt": "~0.2.9" "time-grunt": "~0.2.9"
} }

@ -36,6 +36,13 @@ module.exports = function(config) {
// testing framework to use (jasmine/mocha/qunit/...) // testing framework to use (jasmine/mocha/qunit/...)
frameworks: ['jasmine'], frameworks: ['jasmine'],
// Which plugins to enable
plugins: [
'karma-phantomjs-launcher',
'karma-jasmine',
'karma-coverage'
],
// level of logging // level of logging
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel: config.LOG_INFO, logLevel: config.LOG_INFO,