| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
could you also add tests for this specific scenario |
Sorry, something went wrong.
|
In which file should I add them? I wasn't sure of that |
Sorry, something went wrong.
|
added few tests for this issue in validators.test.js |
Sorry, something went wrong.
There was a problem hiding this comment.
the tests seems to be failing do fix
Sorry, something went wrong.
|
yep, am on it rn |
Sorry, something went wrong.
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## master #2437 +/- ##
===========================================
- Coverage 100.00% 99.96% -0.04%
===========================================
Files 110 111 +1
Lines 2510 2517 +7
Branches 633 634 +1
===========================================
+ Hits 2510 2516 +6
- Partials 0 1 +1 ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
|
Done, i put the test in the wrong area, please check now |
Sorry, something went wrong.
|
Thanks for your contrib! 🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
an email of the type "example*@gmail.com was accepted due to an errant if statement in isEmail.js file which was only checking for the first double quote (user[0] === '"'). Fixed it by adding a secondary "and" condition along with it, to ensure the local part is completely enclosed in the double quotes (&& user[user.length - 1] === '"').
Checklist