| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
✨ Coder.com for PR #4814 deployed! It will be updated on every commit.
|
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## main #4814 +/- ##
=======================================
Coverage ? 69.25%
=======================================
Files ? 29
Lines ? 1649
Branches ? 363
=======================================
Hits ? 1142
Misses ? 430
Partials ? 77
Continue to review full report at Codecov.
|
Sorry, something went wrong.
| try { | ||
| return await argon2.hash(password) | ||
| } catch (error: any) { | ||
| logger.error(error) | ||
| return "" | ||
| } |
There was a problem hiding this comment.
✍🏼 as discussed with @code-asher, this will only throw if you throw in something other than string (like number). Since TS will prevent that, we don't need the try/catch block.
Sorry, something went wrong.
There was a problem hiding this comment.
🎉
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds an additional test for the hash function.
Fixes N/A
#TestingMondays