add guatemala phone number by ignaciosuarezquilis · Pull Request #2395 · validatorjs/validator.js
The files changed doesnt show any modifications to readme file. Do check again .
To add tests you can simply see reference here
validator.js/test/validators.test.js
Lines 10059 to 10075 in 79f5d18
| locale: 'fa-AF', | |
| valid: [ | |
| '0511231231', | |
| '+93511231231', | |
| '+93281234567', | |
| ], | |
| invalid: [ | |
| '212528812312123', | |
| '+212-5290-12312', | |
| '++212528812312', | |
| '12345', | |
| 'Afghanistan', | |
| 'this should fail', | |
| '212 5288---12312', | |
| '+503 1111 1111', | |
| '00 +503 1234 5678', | |
| ], |
Just add valid and invalid numbers as shown for other countries