I'm attempting to unit test some pre-save middleware without mongoose.connect()-ing. model.save() ends up just hanging. Any pointers on a simple point at which I could spoof that using sinon or similar?
well downside of populating: if users update their profile picture / name, its gonna be pretty heavy to update all the users, so I think populating might be a smarter choice. In my application the profile picture / display name can change easily