Test migration to jest by hand
Apparently using regular expressions is way easier.
This commit is contained in:
2
test/overArgs/overArgs.js
Normal file
2
test/overArgs/overArgs.js
Normal file
@ -0,0 +1,2 @@
|
||||
const overArgs = (fn, transforms) => (...args) => fn(...args.map((val, i) => transforms[i](val)));
|
||||
module.exports = overArgs;
|
||||
Reference in New Issue
Block a user