Question:Here is the abstract version of my component
registeris a function that returns props the input needs. You are mocking the
registerfunction, but it still needs to return everything the component is consuming or passing on. Specifically it seems you need to return a
reffunction for what is returned by the
If you have better answer, please add a comment about this, thank you!