Codacy style changes for test files

This commit is contained in:
Angelos Chalaris
2018-08-02 13:49:33 +03:00
parent 067447bdfa
commit f0db074807
338 changed files with 2283 additions and 2619 deletions

View File

@ -1,4 +1,3 @@
const sumBy = (arr, fn) =>
arr.map(typeof fn === 'function' ? fn : val => val[fn]).reduce((acc, val) => acc + val, 0);
module.exports = sumBy;
module.exports = sumBy;