Skip to content

Commit ed60123

Browse files
mgnssprofnandaa
authored andcommitted
feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
1 parent c96d805 commit ed60123

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

test/validators.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8360,6 +8360,27 @@ describe('Validators', () => {
83608360
'NotANumber',
83618361
],
83628362
},
8363+
{
8364+
locale: ['tg-TJ'],
8365+
valid: [
8366+
'+992553388551',
8367+
'+992553322551',
8368+
'992553388551',
8369+
'992553322551',
8370+
],
8371+
invalid: [
8372+
'12345',
8373+
'',
8374+
'Vml2YW11cyBmZXJtZtesting123',
8375+
'+995563388559',
8376+
'+9955633559',
8377+
'19676338855',
8378+
'+992263388505',
8379+
'9923633885',
8380+
'99255363885',
8381+
'66338855',
8382+
],
8383+
},
83638384
];
83648385

83658386
let allValid = [];

0 commit comments

Comments
 (0)