Extend Sinon stubs for Mongoose methods to test chained methods easily
#21 Make mock.verify() chainable as well (by @jniemin)
mock.verify()
Fix sandbox.restore method (by @jniemin)
sandbox.restore
Now sinon-mongoose uses version 2 of sinon. For older versions of sinon you should use [email protected]
sinon-mongoose
sinon
[email protected]
Thanks to @jniemin for this upgrade