Add semicolon for tdd exports

This commit is contained in:
Angelos Chalaris
2018-02-04 17:38:39 +02:00
parent 9bded90056
commit 89f572efbc
290 changed files with 291 additions and 291 deletions

View File

@ -1,3 +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;