Skip to content

Commit

Permalink
Lint Karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Jan 25, 2016
1 parent 3d9cf9a commit a165e03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@

# Ignore build folder
build

# Ignore config stuff
webpack/karma.conf.js
11 changes: 5 additions & 6 deletions webpack/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
var path = require('path');
var webpackConfig = require('./webpack.test.babel');
const webpackConfig = require('./webpack.test.babel');

module.exports = function(config) {
module.exports = (config) => {
config.set({
frameworks: ['mocha'],
reporters: ['mocha'],

browsers: process.env.TRAVIS
browsers: process.env.TRAVIS
? ['ChromeTravis']
: ['Chrome'],

Expand All @@ -30,8 +29,8 @@ module.exports = function(config) {

customLaunchers: {
ChromeTravis: {
base: 'Chrome',
flags: ['--no-sandbox']
base: 'Chrome',
flags: ['--no-sandbox']
}
}
});
Expand Down

0 comments on commit a165e03

Please sign in to comment.