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 flatten = (arr, depth = 1) =>
arr.reduce((a, v) => a.concat(depth > 1 && Array.isArray(v) ? flatten(v, depth - 1) : v), []);
module.exports = flatten;
module.exports = flatten;