Skip to content

Commit

Permalink
feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnss authored and profnandaa committed Oct 31, 2021
1 parent c96d805 commit ed60123
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -8360,6 +8360,27 @@ describe('Validators', () => {
'NotANumber',
],
},
{
locale: ['tg-TJ'],
valid: [
'+992553388551',
'+992553322551',
'992553388551',
'992553322551',
],
invalid: [
'12345',
'',
'Vml2YW11cyBmZXJtZtesting123',
'+995563388559',
'+9955633559',
'19676338855',
'+992263388505',
'9923633885',
'99255363885',
'66338855',
],
},
];

let allValid = [];
Expand Down

0 comments on commit ed60123

Please sign in to comment.