Skip to content

Commit 8bb7964

Browse files
committed
test(isMobilePhone): add tests for Ivory Coast (ci-CI) phone numbers
1 parent 7058170 commit 8bb7964

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

test/validators.test.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10640,6 +10640,23 @@ describe('Validators', () => {
1064010640
'NotANumber',
1064110641
],
1064210642
},
10643+
{
10644+
locale: 'ci-CI',
10645+
valid: [
10646+
'+2250101234567',
10647+
'0101234567',
10648+
'+2250501234567',
10649+
'0501234567',
10650+
'+2250701234567',
10651+
'0701234567',
10652+
],
10653+
invalid: [
10654+
'101234567',
10655+
'+2250201234567',
10656+
'+225010123456',
10657+
'wrong-number',
10658+
],
10659+
},
1064310660
{
1064410661
locale: 'pt-AO',
1064510662
valid: [

0 commit comments

Comments
 (0)