Commit fdef5dd9 authored by BigBlueHat's avatar BigBlueHat

Made karma.config.js match code style

parent 89e32a30
...@@ -7,7 +7,6 @@ module.exports = function(config) { ...@@ -7,7 +7,6 @@ module.exports = function(config) {
// base path that will be used to resolve all patterns (eg. files, exclude) // base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './', basePath: './',
// frameworks to use // frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: [ frameworks: [
...@@ -15,7 +14,6 @@ module.exports = function(config) { ...@@ -15,7 +14,6 @@ module.exports = function(config) {
'mocha' 'mocha'
], ],
// list of files / patterns to load in the browser // list of files / patterns to load in the browser
files: [ files: [
// Application external deps // Application external deps
...@@ -49,7 +47,6 @@ module.exports = function(config) { ...@@ -49,7 +47,6 @@ module.exports = function(config) {
'**/*-test.js' '**/*-test.js'
], ],
// list of files to exclude // list of files to exclude
exclude: [ exclude: [
], ],
...@@ -78,24 +75,19 @@ module.exports = function(config) { ...@@ -78,24 +75,19 @@ module.exports = function(config) {
// available reporters: https://npmjs.org/browse/keyword/karma-reporter // available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['dots'], reporters: ['dots'],
// web server port // web server port
port: 9876, port: 9876,
// enable / disable colors in the output (reporters and logs) // enable / disable colors in the output (reporters and logs)
colors: true, colors: true,
// level of logging // level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO, logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes // enable / disable watching file and executing tests whenever any file changes
autoWatch: true, autoWatch: true,
// start these browsers // start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['PhantomJS'], browsers: ['PhantomJS'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment