This commit is contained in:
Chi Vinh Le
2017-11-07 16:21:09 +01:00
parent cee68ae471
commit 0fc810a7b1
7 changed files with 212 additions and 136 deletions
-2
View File
@@ -1,11 +1,9 @@
const serve = require('../../serve');
const mongoose = require('../../services/mongoose');
const {shutdown} = require('../../bin/util');
module.exports = {
before: async (done) => {
await mongoose.connection.dropDatabase();
await serve();
done();
},
after: (done) => {