Skip to content

Commit 94cdf92

Browse files
committed
test(isMobilePhone): add tests for Ethiopia (et-ET) phone numbers
1 parent 1791a1a commit 94cdf92

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
@@ -9673,6 +9673,23 @@ describe('Validators', () => {
96739673
'',
96749674
],
96759675
},
9676+
{
9677+
locale: 'et-ET',
9678+
valid: [
9679+
'+251912345678',
9680+
'0912345678',
9681+
'+251712345678',
9682+
'0712345678',
9683+
],
9684+
invalid: [
9685+
'0812345678',
9686+
'+251812345678',
9687+
'12345678',
9688+
'+25191234567',
9689+
'09123456789',
9690+
'abc0912345678',
9691+
],
9692+
},
96769693
{
96779694
locale: 'et-EE',
96789695
valid: [

0 commit comments

Comments
 (0)