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