karma.config.js
Function exports
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(config) {
if (!process.env.SAUCE_USERNAME) {
if (!fs.existsSync('sauce.json')) {
throw new Error('Missing Sauce credentials. Either provide SAUCE_USERNAME' +
' and SAUCE_ACCESS_KEY via environment variables or create a sauce.json' +