how to unit test with jest
Hi everyone. On Tanstack-form, I would like to include testing. However, I'm not sure how to mock form in jest. Does anyone know how I can do this?
1 Reply
equal-jade•13mo ago
In general, I have found I rarely need to mock libraries (with TS Form and with others).
Are you sure you need to mock anything?
Be specific. What behavior do you want to test?