Unit Testing Mongoose Model Callback with Sinon
Figured it out issue was me passing the done callback that was not the right way to go about it. The actual issue dealt with using regular callbacks over exec callbacks.
Figured it out issue was me passing the done callback that was not the right way to go about it. The actual issue dealt with using regular callbacks over exec callbacks.