Skip to content

feat(isMobilePhone): add Gabon (fr-GA) mobile phone validation#2700

Open
kaminimangal wants to merge 1 commit intovalidatorjs:masterfrom
kaminimangal:feat/isMobilePhone-fr-GA
Open

feat(isMobilePhone): add Gabon (fr-GA) mobile phone validation#2700
kaminimangal wants to merge 1 commit intovalidatorjs:masterfrom
kaminimangal:feat/isMobilePhone-fr-GA

Conversation

@kaminimangal
Copy link
Copy Markdown

What I did

Added mobile phone validation for Gabon (fr-GA)
to the isMobilePhone validator.

Changes

  • Added fr-GA regex in src/lib/isMobilePhone.js
  • Added valid and invalid test cases in test/validators.test.js

References

  • Gabon country code: +241
  • Mobile numbers start with 02-07

Closes #1761

Checklist

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e36b279) to head (3292f70).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2700   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2586      2586           
  Branches       656       656           
=========================================
  Hits          2586      2586           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile Phone validations - For The First Time Contributors

1 participant