Closed jinankjain closed 8 years ago
Thanks @jinankjain! I'll test this out tomorrow and compare with the work in #184 :)
If I forget please ping me!
Hey @jinankjain, I'd rather we wrote some tests first before I merge this in! Let me know if you need help
I am about to open a pull request that adds tests for this refactoring.
I don't think that the changes to the users/index.js
file add much to the refactoring, though.
Assigned @josmas to review!
@jinankjain I cherry-picked your commit on top of the test changes. It is merged now. Thanks!
@acabunoc I had tried to refactor the code but for writing unit test case I need some data that is already present in db so that I could check that test run are successful.