Add some mocha/chai tests

This commit is contained in:
2020-11-14 20:02:00 -06:00
parent 313ef146dd
commit ddf1a833d6
9 changed files with 21 additions and 365 deletions

View File

@@ -52,7 +52,6 @@ const login = async (req, res, next) => {
try {
user = await users.getByEmail(req.body.email);
} catch (error) {
console.log(error);
return next(error, null);
}