Replies: 1 comment 3 replies
-
I did this test passes but not sure if its right approach.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have this
<CustomInput />
component that basically renders input field. I pass props to it{errors , register ,setValue}
. But when i try to unit test i get an error.The component is very basic its pretty much like this:
My test looks like this:
But i am getting this error:
Beta Was this translation helpful? Give feedback.
All reactions