Skip to content

Commit

Permalink
Add tests for mobile numbers validation of maldives locale i.e. dv-MV
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwalrajbasnet committed Oct 25, 2021
1 parent 8d82739 commit b007525
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -7946,6 +7946,21 @@ describe('Validators', () => {
'NotANumber',
],
},
{
locale: 'dv-MV',
valid: [
'+960973256874',
'781246378',
'+960766354789',
],
invalid: [
'+96059234567',
'+96045789',
'7812463784',
'+960746985478',
'NotANumber',
],
},
];

let allValid = [];
Expand Down

0 comments on commit b007525

Please sign in to comment.