added comments to linter

This commit is contained in:
Wyatt Johnson
2016-12-16 16:46:15 -07:00
parent f6a794f886
commit 7f12741c13
23 changed files with 52 additions and 12 deletions
+2
View File
@@ -3,8 +3,10 @@ const mongoose = require('../../services/mongoose');
// Ensure the NODE_ENV is set to 'test',
// this is helpful when you would like to change behavior when testing.
function clearDB() {
// console.log('Clearing DB', mongoose.connection);
for (let i in mongoose.connection.collections) {
// console.log('Clearing', i);
mongoose.connection.collections[i].remove(function() {});
}