heilhead / react-bootstrap-validation

Form validation for react-bootstrap
MIT License
136 stars 50 forks source link

Feature/jest unit testing framework #45

Closed brewsoftware closed 8 years ago

brewsoftware commented 8 years ago

Hi, I started this as a validator update but it appears to fail when moving to the latest validator version. For now I've just added the unit testing framework so we can get some more stability around upgrades.

Feel free to merge this whenever you want otherwise I will add a few more unit tests in the next day or two...

Cheers, Jason

brewsoftware commented 8 years ago

To run testing make sure you have run "npm install" then run "npm test". It should report all unit tests passed. Default unit test directory and all features are unmocked by default.