diff --git a/test/validators.js b/test/validators.js index 96513fa27..c274fc52f 100644 --- a/test/validators.js +++ b/test/validators.js @@ -10216,6 +10216,22 @@ describe('Validators', () => { ], }); + test({ + validator: 'isVAT', + args: ['IT'], + valid: [ + 'IT12345678910', + '12345678910', + ], + invalid: [ + 'IT12345678 910', + 'IT 123456789101', + 'IT123456789101', + 'GB12345678910', + 'IT123456789', + ], + }); + test({ validator: 'isVAT', args: ['invalidCountryCode'],