Got tests working again

This commit is contained in:
Chris Troutner
2021-07-10 21:08:00 -07:00
parent 013f9f9a09
commit d5643dc086
14 changed files with 77 additions and 2465 deletions
+26
View File
@@ -14,6 +14,32 @@ const ipfs = {
const localdb = {
Users: class Users {
static findById () {}
static find () {}
static findOne () {
return {
validatePassword: localdb.validatePassword
}
}
async save () {
return {}
}
generateToken () {
return '123'
}
toJSON () {
return {}
}
async remove () {
return true
}
},
validatePassword: () => {
return true
}
}