mobx-react-form-demo
mobx-react-form-demo copied to clipboard
Add example test
Hello,
It'd be great to see how to integrate mobx-react-form properly into unit tests like jest. Of course it doesn't need to be exhaustive, but offer a solid example to take it from there.
Thanks for your work, Jo
Hi @xijo
I will look into that,
Thank You
Hi @foxhound87, I am having troubles trying to write a unit test for an event handler of a field and more specifically trying to reach the field value which is set by the field setter. I can only test that the handler is called so far. A test demo will be handy I believe. Thanks in advance.
Which kind of test system are you trying to implement?
Jest and Enzyme. I want to be able to simulate an event and test input field value. Thanks again :)