Cimpress-MCP / postal-codes-js

Provide postal code validation for javascript
Apache License 2.0
43 stars 36 forks source link

SQUIR-296 Support for Postal code of DK and LU #40

Closed jignesh1995 closed 4 years ago

jignesh1995 commented 4 years ago

Adding support for Denmark and Luxembourg postal code in the format:

Input formats of Denmark Postal Code: https://en.wikipedia.org/wiki/Postal_codes_in_Denmark

jignesh1995 commented 4 years ago

Can you please also run npm run test. It should point you to add the new formats to formats-web.js file. I updated the travis.yml file to execute all the unit tests. It should now fail if you rebase to mainline.

I did a rebase but found that npm run test does not throw any error. Also, as suggested I have added DK and LU to format-web.json