// Choosing firefox on CI, Chrome at home
var os = require('os');
var browser = os.platform() === 'linux' ? 'firefox' : 'chrome';

exports.config = {
    capabilities: {
        'browserName': browser,
    },
    specs: ['spec/**.spec.js'],
    onPrepare: function () {
        require("babel-core/register");
        require('./spec/support/setup-sinon-chai.js');
    }
};

exports.config = {
    capabilities: {
        'browserName': 'firefox'
    },
    specs: ['spec/**.spec.js'],
    onPrepare: function () {
        require("babel-core/register");
        require('./spec/support/setup-sinon-chai.js');
    }
};

--- 
+++ 
@@ -1,6 +1,10 @@
+// Choosing firefox on CI, Chrome at home
+var os = require('os');
+var browser = os.platform() === 'linux' ? 'firefox' : 'chrome';
+
 exports.config = {
     capabilities: {
-        'browserName': 'firefox'
+        'browserName': browser,
     },
     specs: ['spec/**.spec.js'],
     onPrepare: function () {
Use firefox on CI, chrome at home
