ran npm run tdd & generated TDD
This commit is contained in:
2
test/getDaysDiffBetweenDates/getDaysDiffBetweenDates.js
Normal file
2
test/getDaysDiffBetweenDates/getDaysDiffBetweenDates.js
Normal file
@ -0,0 +1,2 @@
|
||||
module.exports = (dateInitial, dateFinal) =>
|
||||
(dateFinal - dateInitial) / (1000 * 3600 * 24);
|
||||
Reference in New Issue
Block a user