Im having a react hook form and some validation messages. I need to unit test this component. But all the time my conditional elements are not being rendered or updated. I\'