Skip to content

Commit

Permalink
Added test cases for the issue of france locality
Browse files Browse the repository at this point in the history
  • Loading branch information
mash3al-29 committed Oct 24, 2024
1 parent f57c361 commit 77f81ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/isPostalCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const patterns = {
EE: fiveDigit,
ES: /^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,
FI: fiveDigit,
FR: /^(?:(?:0[1-9]|[1-8]\d|9[0-5])\d{3}|97[1-46]\d{2})$/,
FR: /^\d{2}\s?\d{3}$/,
GB: /^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,
GR: /^\d{3}\s?\d{2}$/,
HR: /^([1-5]\d{4}$)/,
Expand Down
2 changes: 0 additions & 2 deletions test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12988,8 +12988,6 @@ describe('Validators', () => {
});
});



it('should validate MIME types', () => {
test({
validator: 'isMimeType',
Expand Down

0 comments on commit 77f81ec

Please sign in to comment.