Closed luke-denton-aligent closed 3 years ago
Simple. You are not rendering component in a form. so by default all form functions will be noops.
Simple. You are not rendering component in a form. so by default all form functions will be noops.
:facepalm:
Thank you
The
getFullField
function fromformApi
, in Jest tests, is an empty function. In actual fact, it seems that all the functions informApi
are empty; are they all being mocked? Is there a way to disable that mock so we can actually get the functionality?Here is a code sandbox showing the issue https://codesandbox.io/s/informed-js-getfullfield-empty-function-7g1tf?file=/src/Component