react-final-form-hooks icon indicating copy to clipboard operation
react-final-form-hooks copied to clipboard

Tests

Open erikras opened this issue 6 years ago • 3 comments

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! 🙏

erikras avatar Mar 04 '19 20:03 erikras

@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 :ok_hand:

jprask avatar Apr 12 '19 16:04 jprask

Great!

erikras avatar Apr 12 '19 17:04 erikras

@erikras Any reason to this still open? That's something more to do?

renatoagds avatar Oct 11 '19 21:10 renatoagds