mocha-mongoose icon indicating copy to clipboard operation
mocha-mongoose copied to clipboard

test helpers for using mongodb with mocha

Results 4 mocha-mongoose issues
Sort by recently updated
recently updated
newest added

I'm using mocha-mongoose@^1.2.0 in my tests and with the new mocha version 3.0.0 an error is thrown. > Error: Resolution method is overspecified. Specify a callback _or_ return a Promise;...

Hi! Here's the scenario: if I run a single test file with `{ noClear: true }` - it works OK if I run a single test file with `{ noClear:...

mongodb 3 isn't supported anymore: > MongoClient.connect now returns a Client instead of a DB. https://mongodb.github.io/node-mongodb-native/3.0/upgrade-migration/main/ https://github.com/mongodb/node-mongodb-native/blob/3.0.0/CHANGES_3.0.0.md

when running with: ``` "mocha-mongoose": "^1.2.0", "mongoose": "^4.12.0" ``` It hangs: https://travis-ci.org/amongouser/mocha-mongoose-hang/builds/283281361 works fine for mocha 3.x: https://travis-ci.org/amongouser/mocha-mongoose-hang/builds/283280299