final-form / react-final-form-hooks

React Hooks to bind to 🏁 Final Form's high performance subscription-based form state management engine
MIT License
471 stars 19 forks source link

Feature/add tests #40

Closed jprask closed 5 years ago

jprask commented 5 years ago

Description

This PR adds some tests for the hooks in the repo. We are using react-hooks-testing-library for it. Some simple test scripts were added to package-scripts, let me know if something fancier is needed. I also removed the test configuration from .babelrc because jest was throwing a “Duplicate plugin/preset detected.” error.

image

Solves #32

erikras commented 5 years ago

Looks good!

erikras commented 5 years ago

Published in v2.0.0.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.