I am new at Jest and Enzyme, and am struggling to write a unit test to check if my component renders correctly when a certain state value exists.
Below is my code: