Adds tests

This commit is contained in:
gaba
2016-11-08 15:59:35 -08:00
parent 3d17dc4c1a
commit b19f936e64
3 changed files with 43 additions and 9 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ CommentSchema.statics.moderationQueue = function(moderationValue) {
return comments;
});
default:
throw new Error('Moderation setting not found.');
return Error('Moderation setting not found.') ;
}
});
};