feat(tests): Increased unit test coverage

This commit is contained in:
Daniel Gonzalez
2025-06-27 20:11:27 -04:00
parent cf88fadfdc
commit 3d911d1062
14 changed files with 265 additions and 15 deletions
+33
View File
@@ -70,6 +70,39 @@ const localdb = {
}
},
Usage: class Usage {
static findById () {}
static find () {}
static findOne () {
return {
validatePassword: localdb.validatePassword
}
}
async save () {
return {}
}
generateToken () {
return '123'
}
toJSON () {
return {}
}
async remove () {
return true
}
async validatePassword () {
return true
}
static async deleteMany(){
return true
}
},
validatePassword: () => {
return true
}