feat(isMobilePhone): update phone regex for Ghana en-GH by NanaAb-116 · Pull Request #2362 · validatorjs/validator.js

@NanaAb-116

added phoneNumber regex for MTN Ghana phone numbers tarting with 53

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@NanaAb-116

ezkemboi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left comment, please add tests

@NanaAb-116

@codecov

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b958bd7) 99.95% compared to head (2f74f5c) 99.95%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2362      +/-   ##
==========================================
- Coverage   99.95%   99.95%   -0.01%     
==========================================
  Files         107      107              
  Lines        2454     2449       -5     
  Branches      619      619              
==========================================
- Hits         2453     2448       -5     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NanaAb-116

WikiRik

rubiin

@rubiin

@rubiin