I've seen this https://mochajs.org/#asynchronous-code regarding how to set-up tests for asynch code. It makes sense, but I am not sure where to put the actual.
So if this is my test:
describe('User', function() {
describe('#save()', function() {
it('should save without error', function(done) {
var user = new User('Luna');
user.save(done);
});
});
});
Where would I then put something to check the user object's name field or some similar such result?
Thanks!