v3 fix tests and use coroutines instead of regenerator

This commit is contained in:
Matteo Pagliazzi
2016-05-11 15:59:18 +02:00
parent 84b198f17f
commit 95aff08de3
24 changed files with 80 additions and 2702 deletions

View File

@@ -30,7 +30,7 @@ var MONGODB_NEW = nconf.get('MONGODB_NEW');
var MongoClient = MongoDB.MongoClient;
mongoose.Promise = Bluebird.all; // otherwise mongoose models won't work
mongoose.Promise = Bluebird; // otherwise mongoose models won't work
// To be defined later when MongoClient connects
var mongoDbOldInstance;