Skip to content

Commit

Permalink
test(isMobilePhone): fix tests for dv-MV RegExp
Browse files Browse the repository at this point in the history
associated with issue #2101
  • Loading branch information
pano9000 committed Jan 28, 2023
1 parent 7bcd2f0 commit fba5b32
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9495,18 +9495,30 @@ describe('Validators', () => {
{
locale: 'dv-MV',
valid: [
'+960973256874',
'781246378',
'+960766354789',
'+960912354789',
'+9609112345',
'+9609958973',
'+9607258963',
'+9607958463',
'9609112345',
'9609958973',
'9607212963',
'9607986963',
'9112345',
'9958973',
'7258963',
'7958963',
],
invalid: [
'+96059234567',
'+96045789',
'7812463784',
'+960706985478',
'+960926985478',
'NotANumber',
'+9607112345',
'+9609012345',
'+609012345',
'+96071123456',
'3412345',
'9603412345',
],
},
{
Expand Down

0 comments on commit fba5b32

Please sign in to comment.