Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

Commit

Permalink
fix karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jan 21, 2016
1 parent fe97c42 commit bddf064
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ module.exports = function (config) {

logLevel: config.LOG_INFO,

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


preprocessors: {
'webpack.tests.js': ['webpack']
Expand All @@ -34,6 +37,13 @@ module.exports = function (config) {
webpackServer: {
stats: { progress: true, modules: false },
noInfo: true
},

customLaunchers: {
ChromeTravis: {
base: 'Chrome',
flags: ['--no-sandbox']
}
}

});
Expand Down

0 comments on commit bddf064

Please sign in to comment.