Skip to content

Commit 73fbcbd

Browse files
committed
test(isMobilePhone): add tests for Laos (la-LA) phone numbers
1 parent bf6b720 commit 73fbcbd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/validators.test.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9916,6 +9916,19 @@ describe('Validators', () => {
99169916
'0 100 123abc',
99179917
],
99189918
},
9919+
{
9920+
locale: 'la-LA',
9921+
valid: [
9922+
'+8562012345678',
9923+
'02012345678',
9924+
],
9925+
invalid: [
9926+
'2012345678',
9927+
'+856301234567',
9928+
'+85620123456',
9929+
'wrong-number',
9930+
],
9931+
},
99199932
{
99209933
locale: 'ja-JP',
99219934
valid: [

0 commit comments

Comments
 (0)