You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone have experience in writing tests with hooks? There should be no need to test the part that Final Form does (e.g. does a field become dirty when the value changes), but we need something in place to evaluate new features as they get added, and to ensure that a PR doesn't break the whole library.
@erikras I have a little bit of experience with it, they moved the hooks testing to it's own lib and i think that's what people are using. I'm down to set it up and write a few tests so we can discuss it on a PR 👌
Does anyone have experience in writing tests with hooks? There should be no need to test the part that Final Form does (e.g. does a field become dirty when the value changes), but we need something in place to evaluate new features as they get added, and to ensure that a PR doesn't break the whole library.
Maybe something along these lines?
If anyone would like to give this a shot, it would be greatly appreciated! 🙏
The text was updated successfully, but these errors were encountered: