karma.config.js
Function exports
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(karma) {
const args = karma.args || {};
const regex = args.watch ? /\.js$/ : /\.min\.js$/;
const build = builds.filter((v) => v.output.file.match(regex))[0];