mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
v3 fix tests and use coroutines instead of regenerator
This commit is contained in:
@@ -33,7 +33,7 @@ var MONGODB_NEW = nconf.get('MONGODB_NEW');
|
||||
var taskDefaults = common.taskDefaults;
|
||||
var MongoClient = MongoDB.MongoClient;
|
||||
|
||||
mongoose.Promise = Bluebird.all; // otherwise mongoose models won't work
|
||||
mongoose.Promise = Bluebird; // otherwise mongoose models won't work
|
||||
|
||||
// Load new models
|
||||
var NewUser = require('../../website/src/models/user').model;
|
||||
|
||||
Reference in New Issue
Block a user