Skip to content

Commit 8e4a220

Browse files
committed
test(isMobilePhone): add tests for Cambodia (km-KH) phone numbers
1 parent c65b56e commit 8e4a220

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

test/validators.test.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10431,6 +10431,21 @@ describe('Validators', () => {
1043110431
'+99676338855',
1043210432
],
1043310433
},
10434+
{
10435+
locale: 'km-KH',
10436+
valid: [
10437+
'+85512345678',
10438+
'012345678',
10439+
'+85570123456',
10440+
'070123456',
10441+
],
10442+
invalid: [
10443+
'12345678',
10444+
'+8550123456',
10445+
'+8559999999999',
10446+
'wrong-number',
10447+
],
10448+
},
1043410449
{
1043510450
locale: 'be-BY',
1043610451
valid: [

0 commit comments

Comments
 (0)