Added some tests

This commit is contained in:
Angelos Chalaris
2018-01-28 16:28:54 +02:00
parent ed38c84c95
commit b18411617a
19 changed files with 257 additions and 33 deletions

View File

@ -0,0 +1,2 @@
const overArgs = (fn, transforms) => (...args) => fn(...args.map((val, i) => transforms[i](val)));
module.exports = overArgs