mongoose-mock
mongoose-mock copied to clipboard
Improve connection-related mocks
Fix: mongooseMock.connect should be a stub (not a stub factory) Add: mongooseMock.connection to mock the default mongoose connection
+1 @tutukin Needed this to be able to mock some connection-related stuff in my repositories
@JohanObrink Can you review and merge this in?