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

// 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');
    }
};

Use firefox on CI, chrome at home
Use firefox on CI, chrome at home
