Reactjs Undefined Values When Testing A Hook Within

Reactjs Undefined Values When Testing A Hook Within